原创出处:http://bbs.youkuaiyun.com/topics/350181188
#include <string>
#include <fstream>
using
namespace
std;
int
_tmain(
int
argc,
TCHAR
* argv[],
TCHAR
* envp[])
{
wstring result = L
"Hell,World!"
;
wofstream f;
f.open(L
"F:\\11.txt"
,wios::app);
f <<result.c_str()<<endl;
f.close();
return
0;
}