[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
istream problem
From: |
sharmaharish |
Subject: |
istream problem |
Date: |
30 Jul 2006 23:04:19 -0700 |
User-agent: |
G2/0.2 |
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
- istream problem,
sharmaharish <=