Jonathan
0
Q:

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 ( << ) like output streams do.
0

New to Communities?

Join the community