I'm working my first program that includes structures. For some reason though I have having errors with my getline.
inFile.getline( studentar, 20 );
My getline is being used in a function, so I don't know if that effects anything. The studentar array is declared as type student because that is what the structure I created is. Any suggestions would be great.