#include#include using namespace std; int main() { wstring str= L"hello world"; wcout << *str.begin() << endl; return 0; }
h
#include#include using namespace std; int main() { wstring str= L"hello world"; char c = *str.begin(); cout << c << endl; return 0; }
hPackage/Library: The wstring begin function is a part of the C++ standard library.