Search:

Type: Posts; User: stmty9

Search: Search took 0.01 seconds.

  1. its standard C

    its standard C
  2. So i could use the code... int k; char n;...

    So i could use the code...


    int k;
    char n;
    k = fgetc(filename);
    n = (char)k;


    to turn the output of fgetc() into a character, correct? or would i have to match up the 0-255 values of the...
  3. fgetc - C++ Reference...

    fgetc - C++ Reference

    ^^^^says that fgetc() returns an integer. How would that work when i need to put it into a character array?
    Also, when fgetc() reaches the end of the line, does it...
  4. How to take a SINGLE UNKOWN character from a string

    I have a character array, or string, that has a series of...'X'...' '...'F'...'S'...

    I have a maze (only one level) where the walls are marked with X's, the walkable space is marked with a space...
Results 1 to 4 of 4