Click here to Skip to main content
15,938,218 members
Please Sign up or sign in to vote.
1.83/5 (3 votes)
i want to know how to concatenate two string (Eg: str1 & str2)
Updated 11-Jun-16 7:40am

1 solution

Which kind of string ? C style strings ? Then use strcat. std::string ? Then use the + operator.

Share this answer

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900