#include <iostream> #include <string> int main() { std::wstring name; std::wcout << L"Enter your name: "; std::wcin >> name; std::wcout << L"Hello, " << name << std::endl; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)