
12 Nov
2009
12 Nov
'09
7:35 p.m.
AMDG Lloyd wrote:
What is the best way to concatanate an integer to wstring?
for example ===========
std::wstring ws=L"str";
for(int i=0;i<10;++i) { cout<<ws+i; }
The output could be str1 str2 .... str9
ws + boost::lexical_cast<std::wstring>(i)? In Christ, Steven Watanabe