Forum: C++ Dec 31st, 2008 |
| Replies: 1 Views: 517 Hi!
This is Adnan
I have a text file having 10 records. There are 4 fields and each field is delimited by a comma.
I need to read data from text file such that when i input suppose Account... |
Forum: C++ Nov 9th, 2008 |
| Replies: 4 Views: 932 #include<iostream>
#include <conio.h>
using std::cout;
using std::cin;
main()
{
double x=345624.769123;
cout<<"x="; |
Forum: C++ Nov 9th, 2008 |
| Replies: 4 Views: 932 When i use a variable type double the value e.g 345624.769123 rounded to 345625
but when i take 5 digits before decimal i.e 34562.4769123 then it shows 34562.5
Please explain Why?
Thanks |