I'm used to java programming and php. I'm trying to learn C++, but it's rather difficult for me.
Basic in java:
String message = "Test";
String temp = "This is a " + message;
temp now contains "This is a Test".
In c++ i tried everything, a + a dot (in php) etc.
Nothing seems to work.
I tried to search google but no results.
What i do know is i can use cout:
cout << "hello " << "world" << somevariable;
but i want to store my variable not to print it.