Click here to Skip to main content
15,887,365 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Modeless dialog box Pin
rp_suman19-Mar-08 16:38
rp_suman19-Mar-08 16:38 
GeneralPrinting Multiple Copies in MFC Pin
softwaremonkey18-Mar-08 22:45
softwaremonkey18-Mar-08 22:45 
GeneralRe: Printing Multiple Copies in MFC Pin
Iain Clarke, Warrior Programmer18-Mar-08 22:59
Iain Clarke, Warrior Programmer18-Mar-08 22:59 
GeneralDirectX+MFC Pin
Sabry190518-Mar-08 22:31
Sabry190518-Mar-08 22:31 
GeneralRe: DirectX+MFC Pin
CPallini18-Mar-08 23:30
mveCPallini18-Mar-08 23:30 
Generalfloat to int casting Pin
rp_suman18-Mar-08 22:04
rp_suman18-Mar-08 22:04 
GeneralRe: float to int casting Pin
Cedric Moonen18-Mar-08 22:10
Cedric Moonen18-Mar-08 22:10 
GeneralRe: float to int casting [modified] Pin
rp_suman19-Mar-08 4:21
rp_suman19-Mar-08 4:21 
For example the code:
<br />
float f;<br />
f = some_value;<br />
int i = f * 10;<br />

For the above case, say for example if "f" is 0.1, i should become 1.
As the float is actually working in exponential form, will it work without problem or any chance for loss of data, like the above calculation result in zero or else?

Thanks,
Suman

modified on Wednesday, March 19, 2008 10:50 AM

AnswerRe: float to int casting Pin
Rajesh R Subramanian18-Mar-08 22:40
professionalRajesh R Subramanian18-Mar-08 22:40 
GeneralRe: float to int casting Pin
CPallini18-Mar-08 23:15
mveCPallini18-Mar-08 23:15 
Questionhow to insert a spsce between two character when reversed Pin
jasvinder pal singh18-Mar-08 21:33
jasvinder pal singh18-Mar-08 21:33 
AnswerRe: how to insert a spsce between two character when reversed Pin
Rajesh R Subramanian18-Mar-08 22:03
professionalRajesh R Subramanian18-Mar-08 22:03 
AnswerRe: how to insert a spsce between two character when reversed Pin
David Crow19-Mar-08 4:13
David Crow19-Mar-08 4:13 
AnswerRe: how to insert a spsce between two character when reversed Pin
ThatsAlok19-Mar-08 19:53
ThatsAlok19-Mar-08 19:53 
Generalreagarding doubt with our project!! Pin
rowdy_vc++18-Mar-08 19:59
rowdy_vc++18-Mar-08 19:59 
AnswerRe: reagarding doubt with our project!! Pin
Rajesh R Subramanian18-Mar-08 22:07
professionalRajesh R Subramanian18-Mar-08 22:07 
GeneralRe: reagarding doubt with our project!! Pin
Naveen18-Mar-08 22:18
Naveen18-Mar-08 22:18 
GeneralRe: reagarding doubt with our project!! Pin
Rajesh R Subramanian18-Mar-08 22:38
professionalRajesh R Subramanian18-Mar-08 22:38 
GeneralRe: reagarding doubt with our project!! Pin
Naveen18-Mar-08 22:44
Naveen18-Mar-08 22:44 
QuestionRe: reagarding doubt with our project!! Pin
David Crow19-Mar-08 4:20
David Crow19-Mar-08 4:20 
GeneralELF parser Pin
Ravinder Are18-Mar-08 19:52
Ravinder Are18-Mar-08 19:52 
GeneralRe: ELF parser Pin
CPallini18-Mar-08 22:57
mveCPallini18-Mar-08 22:57 
AnswerRe: ELF parser Pin
JudyL_MD19-Mar-08 2:45
JudyL_MD19-Mar-08 2:45 
QuestionHow do they do that? virutal lan Pin
NovaNuker18-Mar-08 19:34
NovaNuker18-Mar-08 19:34 
GeneralVirtual function design pattern Pin
George_George18-Mar-08 19:18
George_George18-Mar-08 19:18 

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.