I've never seen anything like this before and I can't figure out what could possibly be causing it. This is HW so you don't have to fix it for me just give me a clue whats going wrong. Here is my code.
void countChars(ifstream& inData, string filename, char x[])
{
for(int i=0; i < 58; i++)
x[i] = 33+i;
cout << x << endl;
}
here is my output