Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 517 Bytes

File metadata and controls

30 lines (20 loc) · 517 Bytes

StringConversion

This example demonstrates the use of std::wcstombs and std::mbstowcs functions.

Sources

StringConversion.cpp

CMakeLists.txt

Generate and build

To build this project, open "Console" and type following lines:

mkdir build && cd build
cmake .. 
start StringConversion.sln

Select "StringConversion" project and type Ctrl+F5 to build and run it.

Output

Hello, World1 !
Hello, World2 !
Hello, World3 !
Hello, World4 !