Possible Duplicate:
Concatenate two string literals
Why doesn't this work ?
const std::string exclam = "!";
const std::string message = "Hello" + ", world" + exclam;
BUT this works fine
const std::string exclam = "!";
const std::string message = exclam +
"Hello" + ", world" ;
Please explain to me.
Thanks