title: How to output Polish characters in C++ console application?
body: <p>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 &lt;&lt; X &lt;&lt; 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:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;conio.h&gt;
  #include &lt;string&gt;
  
  int main(void)
  {
      using namespace std ;
      const wchar_t data[] = {'ą', 'ę', 'ć'} ;
      wstring X(data) ;
      cout &lt;&lt; X &lt;&lt; endl ;
      getch() ;
      return 0 ;
  }
  </code></pre>