Going through a text file line by line in C
So many problems in so few lines. I probably forget some: argv[0] is the program name, not the first argument; if you want to read in a variable, you have to allocate its memory one never loops on feof, one loops on an IO function until it fails, feof then serves to determinate the reason … Read more