Click here to Skip to main content
16,006,768 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to clear the screen in DOS Pin
Archer2822-Aug-04 4:43
Archer2822-Aug-04 4:43 
GeneralMS-ACCESS......few problems!!! Pin
Anonymous1-Aug-04 20:29
Anonymous1-Aug-04 20:29 
GeneralRe: MS-ACCESS......few problems!!! Pin
Michael P Butler1-Aug-04 22:49
Michael P Butler1-Aug-04 22:49 
Generalproblem getting size of file Pin
Archer2821-Aug-04 20:12
Archer2821-Aug-04 20:12 
GeneralRe: problem getting size of file Pin
David Crow2-Aug-04 3:57
David Crow2-Aug-04 3:57 
Generalatof question Pin
User 5838521-Aug-04 20:09
User 5838521-Aug-04 20:09 
GeneralRe: atof question Pin
Archer2821-Aug-04 20:35
Archer2821-Aug-04 20:35 
GeneralRe: atof question Pin
Rick York1-Aug-04 21:06
mveRick York1-Aug-04 21:06 
Exactly what is telling you those values ?

I am willing to bet that if you look at the 8-byte binary value they will be identical. It is the output display that is the only thing that differs. If you use a format specifier of "%.2f" with one of the printf family of functions (print, sprintf, or fprintf) I expect that you will see 1.15.

It is important to note that it is virtually impossible to acquire exactly accurate floating point values. There are nearly always rounding errors involved that you must just deal with.


__________________________________________
a two cent stamp short of going postal.

GeneralRe: atof question Pin
User 5838522-Aug-04 1:05
User 5838522-Aug-04 1:05 
GeneralRe: atof question Pin
ssiegel2-Aug-04 17:52
ssiegel2-Aug-04 17:52 
GeneralClashes of numbers in Resource.h files Pin
PrashantJ1-Aug-04 19:51
PrashantJ1-Aug-04 19:51 
GeneralRe: Clashes of numbers in Resource.h files Pin
Jaime Stuardo2-Aug-04 4:46
Jaime Stuardo2-Aug-04 4:46 
GeneralRe: Clashes of numbers in Resource.h files Pin
PrashantJ2-Aug-04 18:31
PrashantJ2-Aug-04 18:31 
GeneralRe: Clashes of numbers in Resource.h files Pin
Jaime Stuardo3-Aug-04 1:27
Jaime Stuardo3-Aug-04 1:27 
GeneralHelp with Compiling Error Pin
arunforce1-Aug-04 18:43
arunforce1-Aug-04 18:43 
GeneralRe: Help with Compiling Error Pin
Michael Dunn1-Aug-04 19:23
sitebuilderMichael Dunn1-Aug-04 19:23 
GeneralSQL Commands Pin
Zero_One_ADO1-Aug-04 17:43
Zero_One_ADO1-Aug-04 17:43 
GeneralRe: SQL Commands Pin
Anonymous1-Aug-04 19:52
Anonymous1-Aug-04 19:52 
Generalfiles and folders Pin
Tyrus1821-Aug-04 17:02
Tyrus1821-Aug-04 17:02 
GeneralRe: files and folders Pin
Ravi Bhavnani1-Aug-04 17:37
professionalRavi Bhavnani1-Aug-04 17:37 
Generaloy ! Pin
bikram singh1-Aug-04 18:11
bikram singh1-Aug-04 18:11 
GeneralRe: oy ! Pin
Ravi Bhavnani2-Aug-04 2:26
professionalRavi Bhavnani2-Aug-04 2:26 
GeneralRe: oy ! Pin
bikram singh2-Aug-04 3:28
bikram singh2-Aug-04 3:28 
QuestionNeed Help!! GetDC failed when OffScreenSurface's YUV pixel format in directdraw? Pin
baboguru1-Aug-04 15:41
baboguru1-Aug-04 15:41 
AnswerRe: Need Help!! GetDC failed when OffScreenSurface's YUV pixel format in directdraw? Pin
Ryan Binns1-Aug-04 18:31
Ryan Binns1-Aug-04 18:31 

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.