Click here to Skip to main content
15,899,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaldisplaying graphs Pin
doneirik6-Dec-04 22:21
doneirik6-Dec-04 22:21 
GeneralRe: displaying graphs Pin
Andrew Walker6-Dec-04 23:30
Andrew Walker6-Dec-04 23:30 
GeneralManifest problems Pin
Gemini_II6-Dec-04 21:58
Gemini_II6-Dec-04 21:58 
GeneralDialog Box Pin
max_gundam156-Dec-04 21:28
max_gundam156-Dec-04 21:28 
GeneralRe: Dialog Box Pin
toxcct6-Dec-04 21:40
toxcct6-Dec-04 21:40 
GeneralRe: Dialog Box Pin
namaskaaram6-Dec-04 22:01
namaskaaram6-Dec-04 22:01 
GeneralRe: Dialog Box Pin
David Crow7-Dec-04 3:37
David Crow7-Dec-04 3:37 
Questionsscanf() vs atof() !? Pin
toxcct6-Dec-04 21:13
toxcct6-Dec-04 21:13 
Hi everybody,

i've been having a strange behavior of the sscanf() function, which i replaced then by atof() (that works fine now).
i would like to repport this here to see if anyone has already encountered this before, and if any explaination was posted...

here is a sample of the code :
CString strVersion = <font color=#808080>"2.05"</font>;
<font color=#0000FF>double</font> dVersion = 0;
<font color=#008000>//...</font>
sscanf(strVersion, <font color=#808080>"%f"</font>, &dVersion);  <font color=#008000>// dVersion is about 3.846..........E-314</font>
 
dVersion = atof(strVersion);         <font color=#008000>//Works fine</font>



TOXCCT >>> GEII power
[toxcct][VisualCalc]
AnswerRe: sscanf() vs atof() !? Pin
Stlan6-Dec-04 23:50
Stlan6-Dec-04 23:50 
GeneralRe: sscanf() vs atof() !? Pin
toxcct7-Dec-04 21:23
toxcct7-Dec-04 21:23 
AnswerRe: sscanf() vs atof() !? Pin
David Crow7-Dec-04 2:58
David Crow7-Dec-04 2:58 
GeneralRe: sscanf() vs atof() !? Pin
toxcct7-Dec-04 21:26
toxcct7-Dec-04 21:26 
AnswerRe: sscanf() vs atof() !? Pin
Nemanja Trifunovic7-Dec-04 5:01
Nemanja Trifunovic7-Dec-04 5:01 
GeneralRe: sscanf() vs atof() !? Pin
David Crow7-Dec-04 7:28
David Crow7-Dec-04 7:28 
GeneralRe: sscanf() vs atof() !? Pin
Nemanja Trifunovic7-Dec-04 8:27
Nemanja Trifunovic7-Dec-04 8:27 
GeneralRe: sscanf() vs atof() !? Pin
David Crow7-Dec-04 8:57
David Crow7-Dec-04 8:57 
GeneralRe: sscanf() vs atof() !? Pin
Nemanja Trifunovic7-Dec-04 9:10
Nemanja Trifunovic7-Dec-04 9:10 
GeneralRe: sscanf() vs atof() !? Pin
David Crow7-Dec-04 9:18
David Crow7-Dec-04 9:18 
GeneralRe: sscanf() vs atof() !? Pin
toxcct7-Dec-04 21:29
toxcct7-Dec-04 21:29 
GeneralProblem in erasing Client area Pin
P. Gnana Prakash6-Dec-04 19:52
P. Gnana Prakash6-Dec-04 19:52 
GeneralRe: Problem in erasing Client area Pin
namaskaaram6-Dec-04 22:08
namaskaaram6-Dec-04 22:08 
Generalabout MessageBox Pin
includeh106-Dec-04 19:33
includeh106-Dec-04 19:33 
GeneralRe: about MessageBox Pin
csc6-Dec-04 19:50
csc6-Dec-04 19:50 
GeneralRe: about MessageBox Pin
David Crow7-Dec-04 3:46
David Crow7-Dec-04 3:46 
GeneralI'm looking for solutions Pin
Rassul Yunussov6-Dec-04 19:24
Rassul Yunussov6-Dec-04 19:24 

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.