From: "Victor Bazarov" Newsgroups: alt.comp.lang.learn.c-c++,comp.lang.c++,comp.os.msdos.djgpp Subject: Re: char[] & non-Latin letters Date: Tue, 27 Aug 2002 16:17:06 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <3D6B432F DOT 4552DB3E AT mail1 DOT stofanet DOT dk> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Complaints-To: newsabuse AT supernews DOT com Lines: 45 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Alex Vinokur" wrote... > [...] > ========= C++ code : BEGIN ========= > // File ttt.cpp > > #include > #include > using namespace std; > > int main () > { > #define TEST_VALUE 65 > > char c_value = TEST_VALUE; > wchar_t wc_value = TEST_VALUE; > > cout << c_value << endl; > cout << wc_value << endl; > > return 0; > } > > ========= C++ code : END =========== > > > ========= Compilation & Run : BEGIN ========= > > %gpp ttt.cpp > > A > 65 // ??? > > ========= Compilation & Run : END =========== > > > How can we print wchar_t value ? Output it to wcout instead of cout. Victor -- Please remove capital A's from my address when replying by mail