Click here to Skip to main content
15,894,546 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Is it possible to add extra options into a third party commercial software Pin
Khoramdin31-Jan-07 16:41
Khoramdin31-Jan-07 16:41 
Questionconvert integer value to string objcet? Pin
Yonggoo31-Jan-07 8:59
Yonggoo31-Jan-07 8:59 
AnswerRe: convert integer value to string objcet? Pin
lucy31-Jan-07 9:02
lucy31-Jan-07 9:02 
GeneralRe: convert integer value to string objcet? Pin
Sceptic Mole31-Jan-07 9:13
Sceptic Mole31-Jan-07 9:13 
GeneralRe: convert integer value to string objcet? Pin
CPallini31-Jan-07 9:51
mveCPallini31-Jan-07 9:51 
GeneralRe: convert integer value to string objcet? Pin
Hamid_RT31-Jan-07 19:59
Hamid_RT31-Jan-07 19:59 
AnswerRe: convert integer value to string objcet? Pin
Christian Graus31-Jan-07 9:14
protectorChristian Graus31-Jan-07 9:14 
Questionexponential notation question Pin
Victor Monteverde31-Jan-07 8:35
Victor Monteverde31-Jan-07 8:35 
How can a 2-digit exponential notation be generated in a printf?

The following code:

sprintf(str, "%.10e ", value);

is producing different results for one of my users:

6.385698e-01
or
6.3856980000e-001

????

I'm thinking it's some kind of system difference, like Regional Settings or possibly different run-time libraries, although we distribute the MFC libs with our app. This user is in Japan.

I use VC++ 6.0 and everytime I run the program on my machine I get the 3-digit-exponential-notation (6.3856980000e-001).



QuestionHINSTANCE adventures Pin
dabs31-Jan-07 6:26
dabs31-Jan-07 6:26 
AnswerRe: HINSTANCE adventures Pin
Mark Salsbery31-Jan-07 6:52
Mark Salsbery31-Jan-07 6:52 
AnswerRe: HINSTANCE adventures Pin
James R. Twine31-Jan-07 8:52
James R. Twine31-Jan-07 8:52 
GeneralRe: HINSTANCE adventures Pin
Stephen Hewitt31-Jan-07 13:45
Stephen Hewitt31-Jan-07 13:45 
GeneralRe: HINSTANCE adventures Pin
James R. Twine31-Jan-07 15:07
James R. Twine31-Jan-07 15:07 
AnswerRe: HINSTANCE adventures Pin
Stephen Hewitt31-Jan-07 11:48
Stephen Hewitt31-Jan-07 11:48 
Questionproblem with 2d array Pin
ikbahrian31-Jan-07 5:50
ikbahrian31-Jan-07 5:50 
AnswerRe: problem with 2d array [edited] Pin
toxcct31-Jan-07 5:56
toxcct31-Jan-07 5:56 
GeneralRe: problem with 2d array Pin
ikbahrian31-Jan-07 6:02
ikbahrian31-Jan-07 6:02 
GeneralRe: problem with 2d array Pin
toxcct31-Jan-07 6:18
toxcct31-Jan-07 6:18 
Questiondatabase connection Pin
jagdishbhai31-Jan-07 5:10
jagdishbhai31-Jan-07 5:10 
AnswerRe: database connection Pin
led mike31-Jan-07 5:48
led mike31-Jan-07 5:48 
QuestionRe: database connection Pin
slipnit31-Jan-07 9:24
slipnit31-Jan-07 9:24 
AnswerRe: database connection Pin
led mike31-Jan-07 11:52
led mike31-Jan-07 11:52 
GeneralRe: database connection Pin
slipnit1-Feb-07 4:26
slipnit1-Feb-07 4:26 
AnswerRe: database connection Pin
Hamid_RT31-Jan-07 20:26
Hamid_RT31-Jan-07 20:26 
QuestionRadio Buttons in VS2005 Pin
#realJSOP31-Jan-07 5:00
mve#realJSOP31-Jan-07 5: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.