I'm coming from PHP into the world of C++ and there is one simple thing
I always did:
$othervar = " with another.";
$var = "My string" . $othervar;
output: "My string with another."
Now in C++ you can do this:
char* var "My string" " with another.";
But you cannot do this as you can in PHP:
char othervar [] " with another.";
char* var = "My string" othervar;
I have used strcat() but isn't there a better way?