C++ : copy wstring to wchar_t
Budget: €8 – €30 EUR
In VisualStudio 2019 c++:
Convert wstring into wchar_t.
Attached file is simple example project.
wcscpy(my_wchar_t, my_wstring.c_str());
wcscpy gives error. (Suggestion is to use wcscpy (or wcsncpy_s))
Task: convert wstring into wchar_t without changing options of projects or suppressing warnings or so, preferrably with use of wcscpy (or wcsncpy_s)
Convert wstring into wchar_t.
Attached file is simple example project.
wcscpy(my_wchar_t, my_wstring.c_str());
wcscpy gives error. (Suggestion is to use wcscpy (or wcsncpy_s))
Task: convert wstring into wchar_t without changing options of projects or suppressing warnings or so, preferrably with use of wcscpy (or wcsncpy_s)