#include
#include
#include
int main() {
int i = 1000;
std::string theString = "Test Word";
std::stringstream theStream;
theStream << theString;
theStream << i;
std::cout << theStream.str() << std::endl;
return 0;
}
=========================================================
제가 원하는 결과는
Test Word1