Click here to Skip to main content
15,895,799 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to bypass login window? Pin
1-Jan-04 18:32
suss1-Jan-04 18:32 
GeneralRe: How to bypass login window? Pin
Monty21-Jan-04 21:02
Monty21-Jan-04 21:02 
QuestionHow to enumerate all users from Windows? Pin
Butnariu30-Dec-03 23:42
Butnariu30-Dec-03 23:42 
AnswerRe: How to enumerate all users from Windows? Pin
valikac31-Dec-03 5:36
valikac31-Dec-03 5:36 
GeneralVC++ : linking problems Pin
Vincent Sim30-Dec-03 21:40
Vincent Sim30-Dec-03 21:40 
GeneralRe: VC++ : linking problems Pin
Balkrishna Talele30-Dec-03 22:13
Balkrishna Talele30-Dec-03 22:13 
GeneralDifference of Floating Point Optimization in Fortran & C++ Pin
APV30-Dec-03 21:35
APV30-Dec-03 21:35 
GeneralRe: Difference of Floating Point Optimization in Fortran & C++ Pin
PJ Arends30-Dec-03 21:51
professionalPJ Arends30-Dec-03 21:51 
In C/C++ a float data type uses 4 bytes to store the number, and IIRC has an accuracy of 6 decimal points, so any digits after that are subject to inaccuracy. A double data type uses 8 bytes to store the number, and has an accuracy of 15 decimal points.

I would assume that the fortran code you are using is generating 4 byte floating point numbers, which is why you are getting the same inaccurate numbers as the float type is giving you.







Sonork 100.11743 Chicken Little

"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

Within you lies the power for good - Use it!
GeneralRe: Difference of Floating Point Optimization in Fortran & C++ Pin
Ted Ferenc30-Dec-03 21:53
Ted Ferenc30-Dec-03 21:53 
GeneralRe: Difference of Floating Point Optimization in Fortran & C++ Pin
markkuk30-Dec-03 22:59
markkuk30-Dec-03 22:59 
GeneralMFC with 2 views using Doc/View style Pin
R. Thomas30-Dec-03 20:58
R. Thomas30-Dec-03 20:58 
GeneralRe: MFC with 2 views using Doc/View style Pin
Monty230-Dec-03 21:17
Monty230-Dec-03 21:17 
GeneralRe: MFC with 2 views using Doc/View style Pin
R. Thomas1-Jan-04 15:56
R. Thomas1-Jan-04 15:56 
GeneralQuery in Microsoft Installshield for VC++ Pin
bhargav_ram30-Dec-03 20:34
bhargav_ram30-Dec-03 20:34 
GeneralShellExecute or WinExec!! Pin
abc87630-Dec-03 20:19
abc87630-Dec-03 20:19 
GeneralRe: ShellExecute or WinExec!! Pin
Robert Kuster31-Dec-03 1:17
Robert Kuster31-Dec-03 1:17 
Generalhelp in an active x control Pin
safee ullah30-Dec-03 18:51
safee ullah30-Dec-03 18:51 
GeneralDeployment of project Pin
Ming Yan30-Dec-03 18:19
Ming Yan30-Dec-03 18:19 
GeneralRe: Deployment of project Pin
Monty230-Dec-03 18:39
Monty230-Dec-03 18:39 
GeneralRe: Deployment of project Pin
Ming Yan30-Dec-03 18:50
Ming Yan30-Dec-03 18:50 
QuestionHow to use vb ocx in vc++ Pin
percyvimal30-Dec-03 18:10
percyvimal30-Dec-03 18:10 
AnswerRe: How to use vb ocx in vc++ Pin
bryce30-Dec-03 18:24
bryce30-Dec-03 18:24 
GeneralSending Extended ascii character with PostMessage api in vc++ Pin
percyvimal30-Dec-03 18:05
percyvimal30-Dec-03 18:05 
Generalmultithreaded sockets bollocks ;) Pin
bryce30-Dec-03 17:14
bryce30-Dec-03 17:14 
GeneralRe: multithreaded sockets bollocks ;) Pin
Johnny ²30-Dec-03 22:00
Johnny ²30-Dec-03 22:00 

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.