Click here to Skip to main content
15,915,082 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralModeless Dialogs Pin
si_6922-Jun-04 4:10
si_6922-Jun-04 4:10 
GeneralRe: Modeless Dialogs Pin
Johan Rosengren22-Jun-04 5:21
Johan Rosengren22-Jun-04 5:21 
GeneralRe: Modeless Dialogs Pin
David Crow22-Jun-04 5:59
David Crow22-Jun-04 5:59 
GeneralRe: Modeless Dialogs Pin
si_6923-Jun-04 1:17
si_6923-Jun-04 1:17 
GeneralRe: Modeless Dialogs Pin
David Crow23-Jun-04 2:04
David Crow23-Jun-04 2:04 
GeneralRe: Modeless Dialogs Pin
si_6923-Jun-04 2:28
si_6923-Jun-04 2:28 
GeneralRe: Modeless Dialogs Pin
David Crow23-Jun-04 2:40
David Crow23-Jun-04 2:40 
Generaldouble and float problem Pin
NMiceli22-Jun-04 3:50
NMiceli22-Jun-04 3:50 
Hi.
my problem:

<br />
double a=98;<br />
double b=100;<br />
double c=98/100;<br />
//then c=0.9799999999998 instead 0.98<br />


and why in delphi, vb, etc. i got the 0.98 but not in c++.
I even tried the /Op compiler setting and nothing.
I have readed the microsoft workaround of adding 1e-10 but does not work.
What should i do?.

Thanks in advance.
GeneralRe: double and float problem Pin
Tim Smith22-Jun-04 4:01
Tim Smith22-Jun-04 4:01 
GeneralRe: double and float problem Pin
Antony M Kancidrowski22-Jun-04 4:20
Antony M Kancidrowski22-Jun-04 4:20 
GeneralRe: double and float problem Pin
David Crow22-Jun-04 6:09
David Crow22-Jun-04 6:09 
GeneralRe: double and float problem Pin
NMiceli22-Jun-04 6:58
NMiceli22-Jun-04 6:58 
Questionvirtual member is not called, but base implementation instead? Pin
CherezZaboro22-Jun-04 3:40
CherezZaboro22-Jun-04 3:40 
AnswerRe: virtual member is not called, but base implementation instead? Pin
Antony M Kancidrowski22-Jun-04 3:47
Antony M Kancidrowski22-Jun-04 3:47 
GeneralRe: virtual member is not called, but base implementation instead? Pin
CherezZaboro22-Jun-04 4:45
CherezZaboro22-Jun-04 4:45 
GeneralVC++ 6, ATL windows service, pausing... Pin
CherezZaboro22-Jun-04 3:33
CherezZaboro22-Jun-04 3:33 
GeneralRe: VC++ 6, ATL windows service, pausing... Pin
palbano22-Jun-04 5:44
palbano22-Jun-04 5:44 
GeneralInfo on Hooks Pin
Member 115017622-Jun-04 3:27
Member 115017622-Jun-04 3:27 
GeneralRe: Info on Hooks Pin
Anonymous22-Jun-04 5:53
Anonymous22-Jun-04 5:53 
GeneralRe: Info on Hooks Pin
gamitech22-Jun-04 13:00
gamitech22-Jun-04 13:00 
Generalstring to PDU hex conversion function Pin
sm_sharp22-Jun-04 3:15
susssm_sharp22-Jun-04 3:15 
GeneralRe: string to PDU hex conversion function Pin
jmkhael22-Jun-04 4:36
jmkhael22-Jun-04 4:36 
GeneralRe: string to PDU hex conversion function Pin
HouseSparrow27-Jun-04 22:51
HouseSparrow27-Jun-04 22:51 
GeneralOpenfile dialog box Pin
x-trate22-Jun-04 2:03
x-trate22-Jun-04 2:03 
GeneralRe: Openfile dialog box Pin
P-Rex22-Jun-04 2:16
P-Rex22-Jun-04 2:16 

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.