why don't you just use the std::string
and let the +
operator concatenates the string for you. I saw cout
s here so I assume this is C++. I can't see your point of writing an existing function. Do you think you can implement a better one?
mark5rockzz_1
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.