i want my simulation program to run 100 times but i want to display my changed contents at every time,until "enter" is pressed.i have heard something like kbhit and getch.how can i implement that?
i want my simulation program to run 100 times but i want to display my changed contents at every time,until "enter" is pressed.i have heard something like kbhit and getch.how can i implement that?
you would do something like this:
if( kbhit() )
keypress=_getch()
i think.....
click here to see an example http://<br /> <a href="http://www.c...adid=15433</a>