3
đặt lại một chuỗi chuỗi
Làm cách nào để "đặt lại" trạng thái của một dòng chuỗi về trạng thái khi tôi tạo nó? int firstValue = 1; int secondValue = 2; std::wstringstream ss; ss << "Hello: " << firstValue; std::wstring firstText(ss.str()); //print the value of firstText here //How do I "reset" the stringstream here? …