Skip to article
← Eli Bendersky's Website
Open in Preserve Reader
Post · 1 min read· p. 49

too much Perl...

Eli Bendersky's Website · Eli Bendersky · 1 min

What's wrong with this C++ line ?

text
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

← Previous Using perl for hardware verification Next → MIX in Perl