Corrupted stack around declared array of char (i.e., letter grades)

What's wrong with this:
char arrGrade[NUMB_STUDENTS];

that's not wrong with this:
1
2
	string arrNames[NUMB_STUDENTS];
	double arrAverageScore[NUMB_STUDENTS];

Just don't know why it doesn't like doing it for chars-as my topic title indicates, I'm not intentionally defining a string, I just need to stores letter grades.
Should I make it an array of enums?

I just tried a typedef, but, obviously, it made no difference.

LtrGrade arrGrade[NUMB_STUDENTS];

Nope.
Last edited on
corrupted stack error usually means array-out-of-bounds-access issues -What's your code mate (because your question or whatever you would call your post sucks)
Topic archived. No new replies allowed.