Click here to Skip to main content
15,921,841 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: double to string Pin
User 66581-Jun-03 11:13
User 66581-Jun-03 11:13 
GeneralRe: double to string Pin
melwyn2-Jun-03 4:57
melwyn2-Jun-03 4:57 
GeneralRe: double to string Pin
Anna-Jayne Metcalfe2-Jun-03 0:05
Anna-Jayne Metcalfe2-Jun-03 0:05 
GeneralRe: double to string Pin
Trollslayer2-Jun-03 1:07
mentorTrollslayer2-Jun-03 1:07 
GeneralRe: double to string Pin
Anna-Jayne Metcalfe2-Jun-03 1:17
Anna-Jayne Metcalfe2-Jun-03 1:17 
GeneralRe: double to string Pin
IceMatrix2-Jun-03 3:26
IceMatrix2-Jun-03 3:26 
GeneralRe: double to string Pin
Anna-Jayne Metcalfe2-Jun-03 3:39
Anna-Jayne Metcalfe2-Jun-03 3:39 
GeneralRe: double to string Pin
IceMatrix2-Jun-03 4:53
IceMatrix2-Jun-03 4:53 
float f;
double d;

f = 3.1415926535897932384626433832795f;
d = 3.1415926535897932384626433832795;

printf( "%.32f\n", f );
printf( "%.32lf\n", d );

Output:
3.14159274101257320000000000000000
3.14159265358979310000000000000000

double has to be more precise, but the function doesnt show it!
GeneralUSB notification Pin
paul41-Jun-03 10:00
paul41-Jun-03 10:00 
GeneralRe: USB notification Pin
peterchen1-Jun-03 18:46
peterchen1-Jun-03 18:46 
QuestionCToolBar in a dialog? Pin
Steven M Hunt1-Jun-03 9:19
Steven M Hunt1-Jun-03 9:19 
AnswerRe: CToolBar in a dialog? Pin
W. Hammer -sledge-1-Jun-03 11:38
W. Hammer -sledge-1-Jun-03 11:38 
GeneralFile write Permission Pin
kindi1-Jun-03 9:19
kindi1-Jun-03 9:19 
GeneralRe: File write Permission Pin
Dominik Reichl1-Jun-03 9:27
Dominik Reichl1-Jun-03 9:27 
GeneralHow to obtain Network ID Pin
kindi2-Jun-03 8:16
kindi2-Jun-03 8:16 
GeneralRe: How to obtain Network ID Pin
Dominik Reichl2-Jun-03 8:37
Dominik Reichl2-Jun-03 8:37 
GeneralRe: How to obtain Network ID Pin
kindi2-Jun-03 10:23
kindi2-Jun-03 10:23 
GeneralDisplaying JPEG/BMP/GIF images in a dialog using VS.NET C++ Pin
Franz Granlund1-Jun-03 9:09
Franz Granlund1-Jun-03 9:09 
GeneralRe: Displaying JPEG/BMP/GIF images in a dialog using VS.NET C++ Pin
Steven M Hunt1-Jun-03 9:18
Steven M Hunt1-Jun-03 9:18 
GeneralRe: Displaying JPEG/BMP/GIF images in a dialog using VS.NET C++ Pin
Ken Mazaika1-Jun-03 15:57
Ken Mazaika1-Jun-03 15:57 
GeneralSearch Algorithms - for a Range Pin
Giles1-Jun-03 8:05
Giles1-Jun-03 8:05 
GeneralRe: Search Algorithms - for a Range Pin
Vikram A Punathambekar1-Jun-03 8:49
Vikram A Punathambekar1-Jun-03 8:49 
GeneralRe: Search Algorithms - for a Range Pin
Giles1-Jun-03 9:03
Giles1-Jun-03 9:03 
GeneralRe: Search Algorithms - for a Range Pin
Nick Parker1-Jun-03 9:30
protectorNick Parker1-Jun-03 9:30 
GeneralRe: Search Algorithms - for a Range Pin
Giles1-Jun-03 9:44
Giles1-Jun-03 9:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.