Thread: Help with math flashcards

  1. #1
    Registered User
    Join Date
    Sep 2010
    Posts
    9

    Help with math flashcards

    Hello all, I had an assignment to develop a math flashcard program which I completed. I wanted to add random questions and cannot seem to get this portion to work. Should be something simple wrong, any help would be appreciated.

    Sorry, Upon selecting Random Mix option I get a verification of selection then goes directly to results.

    Thanks for the help I am new to this 2 weeks int class.
    Last edited by Alecroy; 09-24-2010 at 01:56 PM.

  2. #2
    Bored Programmer
    Join Date
    Jul 2009
    Location
    Tomball, TX
    Posts
    428
    Can you explain whats not working? What happens when you run the program?
    Virtual reality hello world http://www.rodneybrothers.com/vr/vrh...rld/index.html in html and javascript.
    Viewable with dodocase, google cardboard, OR, and other compatible VR gear.

  3. #3
    Registered User
    Join Date
    Sep 2010
    Location
    Halesowen, England
    Posts
    30
    Which part isn't working, as this will give us a clue where to start looking for a problem?

    I have noticed, however, at a quick glance, that in the ConductQuizSelection() function, you are calling the other question functions, but don't have a call to RandomQuestion()

  4. #4
    Bored Programmer
    Join Date
    Jul 2009
    Location
    Tomball, TX
    Posts
    428
    Aha you caught it. RandomQuestion isn't ever called as far as I can tell other than its declaration and its definition. Good eye JamDog. The parts that are called still call for random numbers within their questions, but it seems the questions aren't randomly generated during this part... I may have missed something though.
    Last edited by Lesshardtofind; 09-24-2010 at 01:43 PM.
    Virtual reality hello world http://www.rodneybrothers.com/vr/vrh...rld/index.html in html and javascript.
    Viewable with dodocase, google cardboard, OR, and other compatible VR gear.

  5. #5
    Registered User
    Join Date
    Sep 2010
    Posts
    9

    Thank you

    Thanks all, I looked at this for hours and couldn't see what I was missing. This fixed it...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Doing aweful in math, but decent in CS?
    By psychopath in forum General Discussions
    Replies: 2
    Last Post: 11-04-2009, 09:49 AM
  2. Help with C++ Math
    By aonic in forum C++ Programming
    Replies: 4
    Last Post: 01-29-2005, 04:40 AM
  3. Basic Math Problem. Undefined Math Functions
    By gsoft in forum C Programming
    Replies: 1
    Last Post: 12-28-2004, 03:14 AM
  4. Math Header?
    By Rune Hunter in forum C++ Programming
    Replies: 26
    Last Post: 09-17-2004, 06:39 AM
  5. toughest math course
    By axon in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 10-28-2003, 10:06 PM