How to skip the first line when fscanning a .txt file ?

Posted by ZaZu on Stack Overflow See other posts from Stack Overflow or by ZaZu
Published on 2010-05-09T23:43:54Z Indexed on 2010/05/09 23:48 UTC
Read the original article Hit count: 254

Filed under:
|
|

Hello there,

I am using C and my knowledge is very basic. I want to scan a file and get the contents after the first or second line only ...

I tried :

fscanf(pointer,"\n",&(*struct).test[i][j]);

But this syntax simply starts from the first line =\

How is this possible ?

Thanks.

© Stack Overflow or respective owner

Related posts about c

    Related posts about file