Announcements | Last Post | |
---|---|---|
SoC Curricula | 09/30/2017 01:08PM | |
Demarcation or scoping of examinations and assessment | 02/13/2017 07:59AM | |
School of Computing Short Learning Programmes | 11/24/2014 08:37AM | |
Unisa contact information | 07/28/2011 01:28PM |
Casting error? What the hell? May 14, 2007 05:57PM |
Registered: 18 years ago Posts: 526 Rating: 0 |
for(int i=0; i<5; i++) cout << "i=" << i << " : " << (int)pow(10.0, (double)i) << endl; cout << endl; for(int i=0; i<5; i++) cout << "i=" << i << " : " << pow(10.0, (double)i) << endl;
i=0 : 1 i=1 : 10 i=2 : 99 i=3 : 1000 i=4 : 9999 i=0 : 1 i=1 : 10 i=2 : 100 i=3 : 1000 i=4 : 10000
Re: Casting error? What the hell? May 15, 2007 02:00PM |
Registered: 17 years ago Posts: 74 Rating: 0 |
Re: Casting error? What the hell? May 15, 2007 02:50PM |
Registered: 18 years ago Posts: 526 Rating: 0 |
Re: Casting error? What the hell? May 15, 2007 03:27PM |
Registered: 17 years ago Posts: 74 Rating: 0 |
Re: Casting error? What the hell? May 15, 2007 03:43PM |
Registered: 18 years ago Posts: 526 Rating: 0 |