Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

concatenate string in cpp

string firstName = "John";
string lastName = "Doe";
string fullName = firstName + " " + lastName;
cout << fullName; 
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #concatenate #string #cpp
ADD COMMENT
Topic
Name
9+5 =