www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/25/21:04:12

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: foreign char ( almost corect )
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <f2lqdso7f55ecsf0he75s116hl0esaojp1@4ax.com>
References: <lD9C4.1556$1C2 DOT 146525 AT news20 DOT bellglobal DOT com> <cT4D4.8747$n03 DOT 411986 AT news20 DOT bellglobal DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 27
X-Trace: /K49oEImf/XQttTj0g95HJV9Ncf6OskZRaDESKYUg6D3FhmUI8e21qHGD1Gm5OpGQ363YObQZ7Xh!d0lwCsdM1qhV0PcrSH2Q34DTm7yKJDChzPljb37UbhUbE7h/qf4XAuXiO+sOsK/YeXkHaIh5ksmj!nOh2f6g=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Sun, 26 Mar 2000 00:08:12 GMT
Distribution: world
Date: Sun, 26 Mar 2000 00:08:12 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Sat, 25 Mar 2000 15:24:56 GMT, "Robert L." <vlad3 AT sympatico DOT ca>
wrote:

>Now
>cout<<"\x90";
>work well.
>But
>cout<<"\x90crivez"; // écrivez == write
>doesn't work, it say the same error ( escape secquence out of range )
>if i do
>cout<<"\x90"<<"crivez";
>it work as it should, but i don't want to use this line.
>I even do cout<<"\x090crivez", but the same error appear.

How about simply putting double quotes (which are ignored inside a
double quoted string) after the accented character?
  cout << "\x90""crivez";
Or just inserting the accented character directly into the file with
edit.com?

-- 
Damian Yerrick
"I refuse to listen to those who refuse to listen to reason."
See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019