Hi I have a problem. I am trying to write a program that looks through a .c file and read some c code like ifs and voids. My first step was to write a function that looks on the first line of the file for a word and if it is not there it goes on to the next. I can't get it to work! Does anyone know anything about this kind of program? Will someone give me a hand? Did I start out right, and if so will someone help me write the function? Thanks
P.S there will be more points in a while, this is just to get it started.