Go Back   CodingForums.com > :: Computing & Sciences > Computer Programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-07-2011, 03:47 AM   PM User | #1
cfsnip
New to the CF scene

 
Join Date: Jun 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
cfsnip is an unknown quantity at this point
How to make this program in visual basics?

Since i have to study for school tonight, and i dont really want to study, i want to do something fun, so i came up with the idea of creating a program, where you enter in your question, then the answer of the question (multiple questions) then be able to go to another page or something and be able to randomize the question and study (kind of like note cards but on the computer)

If anyone can guild me to a tutorial or what i have to use that would be appreciated

This really isnt homework, as im not turning it in, i just want something i can use on the computer rather than using some note cards

Last edited by cfsnip; 06-07-2011 at 03:56 AM..
cfsnip is offline   Reply With Quote
Old 06-07-2011, 05:05 AM   PM User | #2
bobleny
Regular Coder

 
bobleny's Avatar
 
Join Date: May 2007
Posts: 256
Thanks: 3
Thanked 11 Times in 11 Posts
bobleny is on a distinguished road
The easiest way I can think of to do what you want is to create a two dimensional array and hard code all of the questions and answers.

If you want to go more sophisticated, you could create a database and save the questions and answers in the database.

You could also create a text file in which you write the question on one line, then the answer on the next that could then read by your program.

There are of course many other ways of doing it, but those are probably the three most common methods...
__________________
--www.firemelt.net--
* No good deed goes unpunished.
* Cheer up, the worst has yet to come...
Get Firefox!
bobleny is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:22 PM.


Advertisement
Log in to turn off these ads.