programming-examples/c++/Others/Adding Strings.cpp

12 lines
229 B
C++
Raw Normal View History

2019-11-15 12:59:38 +01:00
Adding Strings
#include <iostream>
#include <string>
using namespace std;
int main(void)
{
string firstName = "gggg";
string lastName = "uuuut";
cout << "Your name is " << firstName + lastName;
return 0;
}