Action unknown: indexdoindex

C++

since 2011-11-08

文字列ストリーム

sprintf っぽいことをして、最後に C 言語の wchar ポインタがほしい場合の処理:

#include <sstream>
using namespace std;
...
{
   wstringstream s;
   s << L"value " << val;
   OutputDebugString(s.str().c_str());
}
cplusplus.txt · 最終更新: 2011/11/08 20:46 by Takuya Nishimoto
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0