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

Discussion in 'C' started by cimon, May 31, 2008.

  1. cimon

    cimon New Member

    Joined:
    Feb 9, 2007
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    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
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice