Friday, July 31, 2009

Need help in Turbo C (no plus plus) .?

Right now I'm creating a program for the periodic table of elements . And i have a problem linking one screen to another .How can i put the "press any key to continue . . ."and have its effects ?? Any sample programs will really help me.

Need help in Turbo C (no plus plus) .?
you can use the following lines:





printf("Press any key to continue");


getch();





The program will wait for the user input.When the user presses a key it will move to next line of the code.
Reply:you can use the printf function to show your message. use gotoxy function to locate your screen cursor...


use getch() function to get any key press from keyboard...

innia

No comments:

Post a Comment