Right now I am going through a book on C and have come across an example in the book which I cannot get to work.
#include #define IN 1 #defin
It's waiting for input on stdin. Either redirect a file into it (myprog < test.txt) or type out the data and hit Ctrl-D (*nix) or Ctrl-Z (Windows).
myprog < test.txt