When using strstream, my output is garbled. Here is the code:
The output I get is 'hello' followed immediately by a bunch of rubbish characters. How can I stop this?Code:strstream strTemp; strTemp << "hello" << endl; pDC->TextOut(0,0,strTemp.str());