Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   HOW DOES THIS CAN COUNT ROWS fscanf(fp, "%*s\t:\t%d\n", &numRows); (http://www.go4expert.com/forums/count-rows-fscanf-fp-sttdn-numrows-t10943/)

cimon 31May2008 05:49

HOW DOES THIS CAN COUNT ROWS fscanf(fp, "%*s\t:\t%d\n", &numRows);
 
HELLO

I am trying to understand this format given to fscanf
fscanf(fp, "%*s\t:\t%d\n", &numRows);

as * tells that the string is to be ignored, what does \t:\t and rest of the part tells .



-thank you


All times are GMT +5.5. The time now is 21:21.