Click here to Skip to main content
15,886,422 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Can i set Float value to CLabelControl::SetCaption() Pin
chandu00413-Jul-10 20:06
chandu00413-Jul-10 20:06 
QuestionListbox Selection Pin
T.RATHA KRISHNAN13-Jul-10 18:48
T.RATHA KRISHNAN13-Jul-10 18:48 
AnswerRe: Listbox Selection Pin
CPallini13-Jul-10 20:33
mveCPallini13-Jul-10 20:33 
GeneralRe: Listbox Selection Pin
T.RATHA KRISHNAN13-Jul-10 20:46
T.RATHA KRISHNAN13-Jul-10 20:46 
GeneralRe: Listbox Selection Pin
CPallini13-Jul-10 21:03
mveCPallini13-Jul-10 21:03 
GeneralRe: Listbox Selection Pin
T.RATHA KRISHNAN13-Jul-10 21:07
T.RATHA KRISHNAN13-Jul-10 21:07 
QuestionRe: Listbox Selection Pin
CPallini13-Jul-10 21:48
mveCPallini13-Jul-10 21:48 
QuestionFloat to CString problem Pin
raju_shiva13-Jul-10 18:17
raju_shiva13-Jul-10 18:17 
Hi sir,
I am finding the pow of some values,If it is for smaller values,i am getting the result properly.
But if for larger values like (where result will be like2.20700e+007)
I am using this code:
result = pow(temp1,temp3);	 
		 
 res.Format("%2d",result);

result is in float and i am getting value as 2.20700e+007

then i am trying to convert it into CString,so that i can tokenize the result in this way(2.20700)
But i am getting junk values while converting,its not converting properly.

Am i doing any thing wrong or any other way to convert it to CString,where i can get the value properly

Thanks
Raj
AnswerRe: Float to CString problem Pin
chandu00413-Jul-10 20:12
chandu00413-Jul-10 20:12 
GeneralRe: Float to CString problem Pin
raju_shiva13-Jul-10 20:27
raju_shiva13-Jul-10 20:27 
GeneralRe: Float to CString problem Pin
chandu00413-Jul-10 21:17
chandu00413-Jul-10 21:17 
AnswerRe: Float to CString problem Pin
Niklas L13-Jul-10 21:14
Niklas L13-Jul-10 21:14 
AnswerRe: Float to CString problem Pin
Aescleal13-Jul-10 21:51
Aescleal13-Jul-10 21:51 
QuestionGetUserProfileDirectory Pin
Fareed Rizkalla13-Jul-10 15:37
Fareed Rizkalla13-Jul-10 15:37 
AnswerRe: GetUserProfileDirectory Pin
Richard MacCutchan13-Jul-10 21:59
mveRichard MacCutchan13-Jul-10 21:59 
Questionget logon and logoff event in an service on windows 2000 Pin
EverettJF13-Jul-10 15:05
EverettJF13-Jul-10 15:05 
Question10 & 10/3*3 are not equal ! ! ! WHY? Pin
hasani200713-Jul-10 9:32
hasani200713-Jul-10 9:32 
AnswerRe: 10 & 10/3*3 are not equal ! ! ! WHY? PinPopular
Maximilien13-Jul-10 9:55
Maximilien13-Jul-10 9:55 
GeneralRe: 10 & 10/3*3 are not equal ! ! ! WHY? Pin
Niklas L14-Jul-10 1:13
Niklas L14-Jul-10 1:13 
AnswerRe: 10 & 10/3*3 are not equal ! ! ! WHY? PinPopular
Niklas L13-Jul-10 9:56
Niklas L13-Jul-10 9:56 
AnswerRe: 10 & 10/3*3 are not equal ! ! ! WHY? Pin
EverettJF13-Jul-10 14:47
EverettJF13-Jul-10 14:47 
GeneralRe: 10 & 10/3*3 are not equal ! ! ! WHY? Pin
Rick York13-Jul-10 16:32
mveRick York13-Jul-10 16:32 
AnswerRe: 10 & 10/3*3 are not equal ! ! ! WHY? Pin
Aescleal13-Jul-10 21:47
Aescleal13-Jul-10 21:47 
AnswerRe: 10 & 10/3*3 are not equal ! ! ! WHY? Pin
josda100014-Jul-10 6:26
josda100014-Jul-10 6:26 
QuestionDLL injection at start time. Pin
Code-o-mat13-Jul-10 6:13
Code-o-mat13-Jul-10 6:13 

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.