How do you determine the length of a file without manually traversing it from the beginning and looking for eof?
Type: Posts; User: Breebo
How do you determine the length of a file without manually traversing it from the beginning and looking for eof?
while (!kbhit()); should also work, but I believe it's nonstandard as well.
BTW getch() will continue if the user presses any key at all. To check for enter being pressed, try:
while (getch()...