Friday, July 31, 2009

Making a game in C++?

I'm making a math game in Borland C++ v4.52.


The game is basically having multiple mathematical problems slowly go down the screen and the user can then enter the answer to a question. While the user is entering the question, all questions are still moving down the screen.





I don't know how to make it so that the user can simultaneously answer the question and have the mathematical questions move down the screen.





If anyone has a website or some code they can offer me, that'd be great.





Thanks in advance.

Making a game in C++?
Use conio.h with kbhit(), then, when kbhit() is true, read from the input using getch[e]() (using cin or scanf creates a General Protection Error).


No comments:

Post a Comment