Answer the question
In order to leave comments, you need to log in
How to print string and argument without space?
How can you "glue" an argument to a string?
For example, in LUA you can do this:
i = "abc"
print("123"..i) --> "123abc"
Answer the question
In order to leave comments, you need to log in
Can the same
std::string s = "abc";
std::cout << "123" + s;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question