Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
template test
Test
Error with move capture of a const ref in a lambda function
Data structure alignment
Dynamically sized array at end of struct
binary
operator new / delete
Double_wrapper vc++
Increment pointer to struct
std::is_same doesn't check calling convension
Please log in to post a comment.