Thread: What is [ic:ccc]!?

  1. #1
    Registered User
    Join Date
    Dec 2002
    Posts
    24

    What is [ic:ccc]!?

    In a listing in my C book, there was code that was unexplained for a while loop that looked like this:
    Code:
    while ( n < MAXLINES && fgets(buffer, 80, stdin) != 0 && 
           [ic:ccc]buffer[0] != '\n')
    {
        if ((lines[n] = (char *)malloc(strlen(buffer)+1)) == NULL)
            return -1;
        strcpy( lines[n++], buffer );
    }
    Could someone tell me what the [ic:ccc] part is?

    Thanx

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    It looks like part of the books formatting. Might be designed to be replaced with some kind of highlight marker, or it maybe an kind of bookmark type thing. Or maybe it denotes that the line has had to be split across two lines to fit the page.

    Whatever it is, it ain't part of the code, and you should ignore it for now.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    Registered User
    Join Date
    Dec 2002
    Posts
    24
    Originally posted by Salem
    > Could someone tell me what the [ic:ccc] part is?
    Junk - it doesn't make any sense

    Which book?
    SAM'S Teach Yourself C for Linux Programming in 21 Days
    Thanx
    Rhodium

Popular pages Recent additions subscribe to a feed