delorie.com/archives/browse.cgi | search |
From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Resetting IOS Flags |
Date: | 27 Aug 2003 11:25:58 GMT |
Organization: | Aachen University of Technology (RWTH) |
Lines: | 11 |
Message-ID: | <bii4g6$fc5$1@nets3.rz.RWTH-Aachen.DE> |
References: | <big7e6$fg$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <20030826164654 DOT 10744 DOT 00000543 AT mb-m14 DOT aol DOT com> |
NNTP-Posting-Host: | acp3bf.physik.rwth-aachen.de |
X-Trace: | nets3.rz.RWTH-Aachen.DE 1061983558 15749 137.226.32.75 (27 Aug 2003 11:25:58 GMT) |
X-Complaints-To: | abuse AT rwth-aachen DOT de |
NNTP-Posting-Date: | 27 Aug 2003 11:25:58 GMT |
Originator: | broeker@ |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
MMarkHinchcliffe <mmarkhinchcliffe AT aol DOT com> wrote: > I've tried unsigned long, int & unsigned int already. 'setf' is supposed to > return a type long value so I can't see why the compiler should complain. The actual error message is not about the return value, but rather about passing your saved status back in as argument number one. Odds are you'll have to use some special type defined for this by the <iostreams> classes. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |