I'd hate to make another thread but I have another question. CHAR ARRAYS.
So I need to make a char array in a struct and have it read in from a file. HEre is my code:
inFile >> mainStruct.name[x];
I keep getting errors in the syntax but I can't figure out what it is. Any hints would be appreciated.