What's wrong with this C++ line ?

string str = err_str . " " . reason . "n";

It took me at least 2 minutes fighting with the compiler to recall that strings are concatenated by "+" in C++, "." is Perl


Comments

comments powered by Disqus