Code: Select all
#include <iostream>
#include <windows.h>
using namespace std;
int main(void)
{
char src[10], dest[10];
strcpy(src,"Привет"); // string with russian symbols
CharToOem(src,dest);
cout << dest;
getchar();
return 0;
}
Code: Select all
#include <iostream>
#include <windows.h>
using namespace std;
int main(void)
{
char src[10], dest[10];
strcpy(src,"Привет"); // string with russian symbols
CharToOem(src,dest);
cout << dest;
getchar();
return 0;
}
The only difference is that codelite does not run the generated executable directly, but rather via le_exe.exe.Inlight wrote:Therefore I have thought, that business in Codelite.