hello, i faced a problem when using wcout in code blocks in order to use Unicode input/output feature, but when i try to compile it i get the error , wcout is not a member of std! well how to fix that ! its really annoying !i know that gcc under linux is performing the job well , but under windows and in C::B it just keeps giving me that damn error. and also Does CB compiler(here gcc )even supports the compilation of source files saved as Unicode? if yes how to configure it to do so ? ! and sth else , does C::B code compilation feature has anything to do with its Compiler? ( i mean e.g when i write using std:: , right after :: a list of supported names show up , i mean this feature by saying code compilation !)( by the way to talk about that list, i couldn't find any wcout! i couldn't even find any sign of cout object either! but when i used MS VC++ , and wrote using std:: , a list showed up that consisted more objects and there i found wcout! and the following program compiled successfully !!) Quote #include <iostream> #include <tchar.h> #include <windows.h> //#include <string> using namespace std; int main() { int i=0; char buf[200]; wchar_t s[] = L"چشم";//a string consisting of 3 non-english characters meaning "Eye"! char c[] = "چشم";//equivalent to wchar_t s[] = L"eye"; and char c[] = "eye"; for (int i=0;c!='\0';i++) { std::wcout<<c; } CharToOemW(s, buf); cout<<endl<<buf<<endl; return 0; } -- View this message in context: http://www.nabble.com/why-doesnt-this-compile%21--tp19921406p19921406.html Sent from the gcc - Help mailing list archive at Nabble.com.