What do you want to save?
Add Code snippet
New code examples
-
C++ 2021-10-03 07:21:05
how to merge string array in C++
For string concatenation in C++, you should use the + operator. std::string nametext = "Your name is " + name; where operator + serves to concatenate strings. nametext is an std::string but these do not have the stream insertion operator ( <&... Add solution
Best helpers
Wo0dy
+5
Jim Pinnells
+5
Spookylukey
+5
Des Wilson
+5
Chris
+5
Ignatz
+5
Gaz
+5
Jo Boiardi
+5
Nthntn
+5
Jonny Five
+5
Asya Saryan
+5
Tralston
+5
Jeff Roe
+5
Hellybaby G
+5
SGoins
+5
Cbeleites
+5