fork(2) download
  1. #include <cstdio>
  2. #include <string>
  3. using namespace std;
  4. int main ()
  5. {
  6. wstring s = L"你好世界";
  7. for(wstring::size_type n = 0; n < s.size(); ++n)
  8. printf("%X ", s[n]);
  9. }
Success #stdin #stdout 0s 2856KB
stdin
Standard input is empty
stdout
4F60 597D 4E16 754C