3
एक स्ट्रिंगस्ट्रीम रीसेट करना
जब मैंने इसे बनाया था, तो मैं एक स्ट्रीस्टस्ट की स्थिति को "रीसेट" कैसे करूं? 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? //I would like it …