delorie.com/archives/browse.cgi | search |
From: | "Victor Bazarov" <vAbazarov AT dAnai DOT com> |
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: | <umnni01brrrq3c@corp.supernews.com> |
References: | <akdr5h$1hk2er$1 AT ID-79865 DOT news DOT dfncis DOT de> <3D6B432F DOT 4552DB3E AT mail1 DOT stofanet DOT dk> <akgl7a$1i2cm0$1 AT ID-79865 DOT news DOT dfncis DOT de> |
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" <alexvn AT bigfoot DOT com> wrote... > [...] > ========= C++ code : BEGIN ========= > // File ttt.cpp > > #include <wchar.h> > #include <iostream> > 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |