delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/23/00:45:43

Message-ID: <353EC575.1027DCD2@usa.net>
From: Paul Derbyshire <pderbysh AT usa DOT net>
Organization: The Chaos Zone
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: iostreams and error handling
Lines: 23
Date: Thu, 23 Apr 1998 04:40:55 GMT
NNTP-Posting-Host: 206.172.228.199
NNTP-Posting-Date: Thu, 23 Apr 1998 00:40:55 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Can the iostream library be coerced to throw exceptions when there are I/O
errors? If so, what exceptions will it throw, since there is nothing in the
iostream info file about excpetions.

If an iostream develops a fail or bad state, is there a method to get some sort
of error number or other information? This, too, is not covered by the info
file.

The iostream info file leaves a lot to be desired IMO.


-- 
   .*.  "Clouds are not spheres, mountains are not cones, coastlines are not
-()  <  circles, and bark is not smooth, nor does lightning travel in a
   `*'  straight line."     ------------------------------------------------
        -- B. Mandelbrot   | Paul Derbyshire (PGD) ao950 AT freenet DOT carleton DOT ca
______________________ ____|_____________                   pderbysh AT usa DOT net
Programmer & Humanist |  ICQ:  10423848  | http://chat.carleton.ca/~pderbysh
---
        -- B. Mandelbrot   | Paul Derbyshire (PGD) ao950 AT freenet DOT carleton DOT ca
______________________ ____|_____________                   pderbysh AT usa DOT net
Programmer & Humanist |  ICQ:  10423848  | http://chat.carleton.ca/~pderbysh

- Raw text -


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