Thread: A C flashcard program?

  1. #1
    Chris
    Guest

    A C flashcard program?

    I have a Casio pocketviewer, and want a program to display flashcards. After selecting a subject, it should display the first question, wait for a screen-tap, then display the answer. After the next tap, it should display the second question... and so on.
    Anyone have an idea of a program that I could base my code structure on/or some idea of a pseudo-code?
    I'm a beginner and a student, trying to write a study program.
    Any replys please send to:
    [email protected]

  2. #2
    Registered User biosx's Avatar
    Join Date
    Aug 2001
    Posts
    230
    It's a little bit harder than you think.

    First you need to download a SDK for your Casio (if one is open). Second, you need to learn the environment for programming (special api, what not). Then finally you can program it.

    Good luck with that.

  3. #3
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    i've never used the casio pocketviewer. i'm guessing it's some kind of pda. assuming its operating system is event-based,
    try:
    int is_answer=0;
    char* question[80];
    char* answer[80];
    fill the variables with the questions,answers
    set the counter to 1
    the pen_tap event:
    if is_answer is false, show question[counter], set flag to opposite
    otherwise show answer[counter]. set flag to opposite, increment counter
    if counter is at end, break.
    otherwise, repeat (probably put this in a while loop)
    Last edited by ygfperson; 01-17-2002 at 09:29 PM.

  4. #4
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    Yeah, I'd say that this program will be/is pretty system specific. I'm sure you can find a tutorial for the separate API (if there is one). Good luck!
    1978 Silver Anniversary Corvette

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Issue with program that's calling a function and has a loop
    By tigerfansince84 in forum C++ Programming
    Replies: 9
    Last Post: 11-12-2008, 01:38 PM
  2. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 01:41 PM
  3. Replies: 4
    Last Post: 02-21-2008, 10:39 AM
  4. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM