Search:

Type: Posts; User: quzah

Search: Search took 0.15 seconds.

  1. int c; while( ( c = fgetc( filepointer ) != EOF...

    int c;
    while( ( c = fgetc( filepointer ) != EOF )
    printf( "Read \'%c\': %d.\n", c, c );A char is just an int that's small.

    Quzah.
  2. Characters have integer values. Basically, a...

    Characters have integer values. Basically, a valid character gets returned in the range of the character's possibilities, otherwise a different value gets returned for error states.

    Go read about...
  3. fgetc perhaps? Any basic C book should cover this...

    fgetc perhaps? Any basic C book should cover this in the chapter about files.


    Quzah.
Results 1 to 3 of 3