ROMW was obviously more flexible for interactive debugging. I had to restart on every little change.
ROMW was obviously more flexible for interactive debugging. I had to restart on every little change.
string operator+(const string& str, const A& a). Then you would call it like this: s2 = s1 + a.
To append, use operator+=:
string& operator+=(string& str, const A& a)
{
str.append(a.get_that_string());
return str;
}
...
s += a;
string operator+(const string& str, const A& a). Then you would call it like this: s2 = s1 + a.
To append, use operator+=:
string& operator+=(string& str, const A& a)
{
str.append(a.get_that_string());
return str;
}
...
s += a;