Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

K&R 2nd

Name: Anonymous 2011-10-13 23:11

reading K&R 2nd edition
get to end of chapter 1
doing exercises
one asks to parse a C program
they didn't even show me proper file handling yet


Why would they do this?

Name: Anonymous 2011-10-14 0:06

You're suppose to read the file from stdin with getc. Then to run it from the command line you would do

$ ./program < file

You're not using windows or something are you?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List