W
wingfire
Unregistered / Unconfirmed
GUEST, unregistred user!
测试代码:
#include <iostream>
#include <string>
using namespace std;
int main(int argc, char* argv[])
{
basic_string<wchar_t> str = L"Hello World!";
wcout << str << endl;
wchar_t ch;
wcin >> ch;
return 0;
}
无法输出,但是vc当中就可以。如何解决?
#include <iostream>
#include <string>
using namespace std;
int main(int argc, char* argv[])
{
basic_string<wchar_t> str = L"Hello World!";
wcout << str << endl;
wchar_t ch;
wcin >> ch;
return 0;
}
无法输出,但是vc当中就可以。如何解决?