I'm having issues with reading in a file into the a 1 dimensional char array.
I've used the fseek function to get the length of the file and created the char array based on that.
Then I started storing the contents of the file into the char fsrc with this:
for(int x = 0; x < numb; ++x){
fsrc[x] = getc(indata);
}fclose(indata);
For some reason when I printed the fsrc to see the contents I get these odd symbols tacked onto the end of the file that I'm reading in:
The contents of what the file has: