Hi, I have a file of this structure:
;this is a comment line
;here is another one
and I want to do the following:
read in the file, and display all the lines which aren't comment:
where the ... is a \t (it isn't possible to post a sequence of spaces here)
every line which isn't comment should be red in as an integer and a string (and, the integer can be >9 , so I think I should work with something like " fscanf (Fp, "%d$%s",&dd, aaa); ". They should be (temporarily) saved in variables (int tempint; and char tempchar; for example)
I prefer NOT to read in the integer as a character and convert it with atoi (because I hate using atoi).
this question is allso asked here:
HOWEVER: I misformulated the question at first, so please read the whole thread if you can replie there (because , I have about 10 versions which do the wrong thing now (my fault, I didn't asked it correct ) )
Thanks in advance.