its standard C
Type: Posts; User: stmty9
its standard C
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...
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...
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...