Hi,
Is it possible to manually change line when using fscanf?
sort of like this:
fscanf(inputFilePtr,"\n%c",&inputChar);
And how doest he pointer work, will it point to the first element in my file and then be incremented? If yes, can i manually increment it (inputFilePtr+something)?
What I want to do is to read the first character in a line, if it is a # it is a comment and I will discard that line. Hence my wish to change the line
/Mattias
p.s Is there somewhere where I can look up all the things I can do with a command (as fscanf) so I don't have to ask people all the time.



LinkBack URL
About LinkBacks



