nightthepope
03-15-2005, 09:48 PM
I have this program and when it outputs its values to me using cout, sometimes I get some very odd numbers.
Such as for a double I would expect its value to be like "0" I get something like "2.640e-392". Or numbers of the like.
Or for other numbers like some of my ints, even those which werent assigned a value other than zero are having values of like -256.
What is going on?
I've traced my variables and nothing should lead to these sort of numbers.
Such as for a double I would expect its value to be like "0" I get something like "2.640e-392". Or numbers of the like.
Or for other numbers like some of my ints, even those which werent assigned a value other than zero are having values of like -256.
What is going on?
I've traced my variables and nothing should lead to these sort of numbers.