I'm having a huge issue getting simple character matrix from a file.
I have this file: maze.txt
and i just want to read it into a 2d array of chars. I have a working output function, and when i output the result of this function, it is simply garbage. Anyone see what's wrong??
struct COORD InputMaze(int *maze)
struct COORD Size;
fscanf(instream, "%c", &InputChar);
InputChar=fgetc(instream);//get rif of the terminator