Original Post
Maaaany years ago I learnt VB, before c++ in fact. On thing VB does far better than C++ and light years ahead of C is make strings easy to use. In VB I concatenate multiple values together to form a string. I may not have looked hard enough but I never did find a nice way of writing something would look like this: std::string Output = "ERROR [" + Type + "] : " + Message + CRLF; Where Type and Message are std::string's and CRLF is a const char*. Is there a way of doing this that I'm not aware of without creating my own string class and overloading + operator? From what I understand as well the + operator would make a copy of the string from right to left, making the whole process a fair bit slower(Not that I often do this with speed in mind but I'd have to consider it. Right now I do something like this: std::string Output("ERROR ["); Output += Type Output += "] : "; Output += Message; Output += CRLF; Is there a much better way?