I've try this simple code to output polish characters using 'std::wstring' class. The class is constructed succesfully from wchar_t array but I don't know how to output it to the screen. That line "cout << X << endl ;" doesn't compile. Is it possible to output polish characters in console application written in native C++ ?. If so then how to work around this ?. Below is a simple code I did try to compile:
#include <iostream>
#include <conio.h>
#include <string>
int main(void)
{
using namespace std ;
const wchar_t data[] = {'ą', 'ę', 'ć'} ;
wstring X(data) ;
cout << X << endl ;
getch() ;
return 0 ;
}