I think I got the basic idea of C++ strings:
The biggest 'Gotcha' i'm getting with the compiler is the stupid ; after each line
#include <iostream> #include <string> using namespace std; int main(int argc, char* argv[]) { //test string str1 = "I'm loving C++"; string str2 = " .... not"; cout << str1+str2 << endl; return 0; }
The biggest 'Gotcha' i'm getting with the compiler is the stupid ; after each line