Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Build char string (multibyte) with wchar
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64 #include <iostream> int main() { const wchar_t* pWideString = L"123"; char pConverted[16]; sprintf_s(pConverted, "%S 456", pWideString); std::cout << pConverted << std::endl; }
run
|
edit
|
history
|
help
0
Thing
wall
Dices by GOOSE
iterator by value, by reference
c++ pure apstraction
pitch errors verification for Nowhk
MSVC noexcept - works
Noexcept
Generic EventProvider
visual-wtf