In the faq i saw an example of how to wait for a user input and it didnt give the include for the getch() functoin. does anyone know what library i should put for the #include?
thanks again for everyone's help.
In the faq i saw an example of how to wait for a user input and it didnt give the include for the getch() functoin. does anyone know what library i should put for the #include?
thanks again for everyone's help.
its in <conio.h>
its not ANSI standard though so depending on your compiler it may or may not work.
All spelling mistakes, syntatical errors and stupid comments are intentional.
Any input function will do for pausing the program, just don't assign what's read to a variable. I prefer to use getchar() since it's standard and has the same effect as the nonstandard getch().
My best code is written with the delete key.