This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Problem with iostream clear(), gcc version 3.0 20010223
- To: Craig Rodrigues <rodrigc at mediaone dot net>
- Subject: Re: Problem with iostream clear(), gcc version 3.0 20010223
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Sat, 24 Feb 2001 20:20:11 -0500
- Cc: libstdc++ at gcc dot gnu dot org
- References: <20010224182109.A13640@mediaone.net>
On Sat, Feb 24, 2001 at 06:21:09PM -0500, Craig Rodrigues wrote:
>
> std::cin.clear(5);
clear() takes a variable of type iostate.
5 is not of type iostate.
What's the problem?
Phil
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.