How do I signify end-of-file when I'm running my program? I know it's ctrl-D on the PCs at uni, but it doesn't seem to work on my own PC!
HELP!
Printable View
How do I signify end-of-file when I'm running my program? I know it's ctrl-D on the PCs at uni, but it doesn't seem to work on my own PC!
HELP!
what exactly do you want?
Try control Z.
Basicly, it sounds as though they've set up their program to read from stdin until an EOF is detected. This is not a normal keystroke, and never will be, so you have to use a special case, based on OS, to input this.
Quzah.