I am using gcc version 3.4.2 (mingw-special) version compiler and the
following code is not giving expected output.

include <iostream>
using namespaces std;

int main() { double d; cin >> d; cout << d; return 0; }

It gives out a garbage value int output when I give 2.22507e-308 as
input value to read. 

Regards,
Harish Sharma

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to