Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Vocabulary Drills

Author
Message
Fluffy Goat
21
Years of Service
User Offline
Joined: 19th Jul 2003
Location:
Posted: 20th Jul 2003 03:37
I'm a 15-year-old house sitting for my brother while he is on a business trip in San Francisco. My brother is a major programmer it seems =O He has a whole wall devoted to books on programming in more languages than I thought existed. Anyway I picked up on of his old "Beginning C++" books, booted up his copy of MSVC++6 and started typing. I've never seen any C++ code, or any code at all(other than HTML/Javascript) so all programming is relatively new to me. I'm not the sharpest tool in the shed, so if I mess up go easy on me. ^^

Anyway~~ I found his copy of DBPro and studied the reference manual. I came to the decision of making a program that will read .txt files with the Japanese words I need to memorize and display them on screen. So basically:

1. A program that will read .txt files with Japanese words and their english equivalents tucked nicly into them. The program will show the Japanese word(or english) and prompt the user for the correct english word. If incorrect or correct, it'll let the user know - then move on to the next word.

Alrighty =D Now, this is what I have coded so far:



My problems are: The 4th word, and all after that are always incorrect, and I can't figure out why. Also, a goal of mine was to randomize the words so i dont develop patterns after running the program a few times. Any advice, hints/tips are greatly appreciated. I'm not *even* a newb yet, I know. =X

NOTES: I searched around for string functions, maybe some useful DLL's, and came across TDK's string function library for DBV1. The GetWordStr() function is what i started out using, but I came to realize early on that Japanese words have more than a one-word meaning, and that function pulls out certain words. =O I was also hoping later on to use this program for praticing bunkei(pattern sentences).

If anyone can point out a good way to work on this little project, i would really really appreciate any information =D Maybe someone knows and easier way to do this? Maybe I'm missing something. I dont know ^___^ Tis' why I seek help.

Thanks~!
LuciferX
21
Years of Service
User Offline
Joined: 16th May 2003
Location: United States
Posted: 20th Jul 2003 04:46
you should always dim the variable to more than you use.

make them arrays of 10

Do or do not, there is no try. -Yoda

Login to post a reply

Server time is: 2024-09-20 15:34:57
Your offset time is: 2024-09-20 15:34:57