C++ string append two strings

Description

C++ string append two strings

#include <cstdlib>
#include <cstdio>
#include <iostream>
using namespace std;

int main(int argc, char* pArgs[])
{

    cout << "string1 + string2 = " << (string("string 1") + string("string 2")) << endl;

}



PreviousNext

Related