How can I add two strings together as though they were variables? ex:
std::cout<< a << b << std::endl;
How can I do that only with two strings, a
and b
?
How can I add two strings together as though they were variables? ex:
std::cout<< a << b << std::endl;
How can I do that only with two strings, a
and b
?
You can't store names which consist of a series of characters in integers. Use std::string
instead.