C++

Miscellaneous Forums/General Discussion/C++

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I think I got the basic idea of C++ strings:

#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