The problem is, your trying to print characters as strings
Your solution works by changing the characters to C strings...you could have also used
Code:
cout<<A<<endl;
cout<<B<<endl;
cout<<C<<endl;
Your solution works by changing the characters to C strings...you could have also used
Code:
for (i = 0; i < 4; ++i)
{
std::cout<<A[i];
}
Slackware 13/ArchLinux - C/Assem/Python