Re: [Dev-C++] Dev-cpp-users Digest, Vol 23, Issue 8
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Eric <eri...@wo...> - 2008-04-17 18:50:54
|
(1) Sorry I was a bit naughty not finishing it off
(2) how can we write this in to the DevC++ help files "setprecision" does
not come up at all in version 4.9.9.2
(3) how can we do anything to make the help file better, so we dont have
bang our heads &/or rip our hair out
(3) spell chequeer does not work after converting HTML mail to plain text
version, (and Microsoft want to rule the computer O.S world, goodness me
where are we going?)
>From Eric
----- Original Message -----
From: Geo...@ao...
To: dev...@li...
Sent: Friday, 18 April, 2008 2:54 AM
Subject: Re: [Dev-C++] Dev-cpp-users Digest, Vol 23, Issue 8
Try this
#include <iostream>
#include <iomanip>
float x=1;
int main(int argc, char *argv[])
{
std::cout << std::setprecision(1) << "1/3 =" << x/3 << "\n";
printf("1/3 = %.9f \n", x/3);
system("PAUSE");
return EXIT_SUCCESS;
}
>From GeorgeAPerry
Need a new ride? Check out the largest site for U.S. used car listings at
AOL Autos.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao
ne
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.23.0/1382 - Release Date: 16-Apr-08
5:34 PM
|