Is this a Bug or shall this so?
Christian Klahn
christian@warchris.dyndns.org
Thu May 5 19:44:00 GMT 2011
Hello
I have discovered a strange something.
This Code compiled witheout Errors and gives "AB" to the Terminal:
------------------------------------------------
#include <iostream>
int main()
{
char ch[] = "AB\n";
std::cout << ch;
'\n';
return 0;
}
------------------------------------------------
Is the Code in line seven valid or is that a Bug in gcc/g++?
Christian Klahn
More information about the Gcc-help
mailing list