help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: istream problem


From: jinxidoru
Subject: Re: istream problem
Date: 31 Jul 2006 14:58:47 -0700
User-agent: G2/0.2

The first thing I would do is initialize your variable to 0.  Then run
the program again, if the returned value is zero.  Then you know that
the cin part is not working.  If you still get a weird value, then you
are probably exceeding the limits of the double for your compiler.  The
size of a double is not necessarily the same on each compiler.  So I
would check the documentation to see if you have exceeded the limits of
the data type.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]