www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/24/17:31:51

Message-ID: <35E1D68E.69B6BC24@infonie.be>
Date: Mon, 24 Aug 1998 23:09:34 +0200
From: Crousto <crousto AT infonie DOT be>
MIME-Version: 1.0
Subject: Problem with files reading
Lines: 11
Newsgroups: comp.os.msdos.djgpp
NNTP-Posting-Host: news.pronet.it 194.183.5.9
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi all,
I've got a little problem with reading files with the file.get function.
I'd like to disable the carriage returns, form feed,... for reading a
list of single-byte datas. The problem is that if I use file.get on a
file like this : 0D FF , I'll get FF because 0D is an escape character,
even with file.unsetf(ios::skipws). But I need to get only 0D, not as
the escape char but as the 13 integer. Anyone got a solution? Thanks in
advance... 

Crousto
crousto AT infonie DOT be

- Raw text -


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