Lost Password?


Go Back   CodeCall Programming Forum > Software Development > Visual Basic Programming

Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-05-2008, 08:07 PM
5te4lthX 5te4lthX is offline
Newbie
 
Join Date: May 2008
Posts: 7
Rep Power: 0
5te4lthX is on a distinguished road
Default Vocabulary Program

I'm thinking of making a program that will test the user's knowledge of vocabulary, which would be obtained from a .txt or .doc file.

The only problem is that I don't know how to organize the words/definitions so that the program can read it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 08-06-2008, 01:59 AM
gaylo565's Avatar   
gaylo565 gaylo565 is offline
Programmer
 
Join Date: May 2007
Location: flagstaff, az
Posts: 187
Last Blog:
String Manipulation wi...
Rep Power: 9
gaylo565 is a jewel in the roughgaylo565 is a jewel in the roughgaylo565 is a jewel in the rough
Default Re: Vocabulary Program

Use a string array for both the words and the definitions. Make sure the matching definitions index is the same as the word. You can even use a random number function to call a couple of other random definitions to make a multiple choice sort of question. You will need some sort of data store for the information; a .txt file would do fine. Just separate the records by some sort of symbol to use for sorting later (like a dash or something) and use something to separate the word and its definitions as well. This way when you read from the file later it is easy to separate out the different records. Assign the records to the arrays and then use them as you like.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial: Starting C# with C# 2008 Express Edition Jordan CSharp Tutorials 19 08-08-2008 01:48 PM
[HELP] C++ program that will ask the user to enter not greater than to 15 numbers Kyram143 C and C++ 7 08-06-2008 10:53 PM
Help with Square root and calculator program!!! 123456789asdf C and C++ 10 12-02-2007 05:35 PM


All times are GMT -5. The time now is 06:29 AM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 97%

Ads