M
MC felon
void DoThang (char (&cMovesDone)[9])
{
for(int i = 0; i<9; i++)
cMovesDone = 'k';
}
int main()
{
char c;
DoThang (c);
cout<<c;
}
I tried outputting the cMovesDone using cout<<. It's displaying wierd
characters. what's wrong?
{
for(int i = 0; i<9; i++)
cMovesDone = 'k';
}
int main()
{
char c;
DoThang (c);
cout<<c;
}
I tried outputting the cMovesDone using cout<<. It's displaying wierd
characters. what's wrong?