Hello all
I'm a newbie, and I appreciate much dev-C++.
Excuse my very bad English, I'm french and better in cooking than in learning languages.
How can I use UNICODE_STRING returned by some of the win32 functions.
This code makes an error:
include <string>
include <iostream>
int main()
{
std::wstring s = L"Chane unicode";
wchar_t c = s[ 0 ]; // c = L'C'
std::wcout << s;
}
ERRORS:
Illegal byte sequence
8 F:\Dev-Cpp\projets\api native\wstring.cpp wcout' is not a member ofstd'
How can I use the wstring UNICODE_STRING and wcout with dev-C++ ?
Thank you very much
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all
I'm a newbie, and I appreciate much dev-C++.
Excuse my very bad English, I'm french and better in cooking than in learning languages.
How can I use UNICODE_STRING returned by some of the win32 functions.
This code makes an error:
include <string>
include <iostream>
int main()
{
std::wstring s = L"Chane unicode";
wchar_t c = s[ 0 ]; // c = L'C'
std::wcout << s;
}
ERRORS:
Illegal byte sequence
8 F:\Dev-Cpp\projets\api native\wstring.cpp
wcout' is not a member of
std'How can I use the wstring UNICODE_STRING and wcout with dev-C++ ?
Thank you very much