Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Packing Structures Pin
benjymous6-May-05 2:43
benjymous6-May-05 2:43 
GeneralRe: Packing Structures Pin
Gary R. Wheeler8-May-05 5:14
Gary R. Wheeler8-May-05 5:14 
GeneralCTabctrl and Cdialog communication not working Pin
razorme6-May-05 1:31
razorme6-May-05 1:31 
QuestionFlash Control.. How Use?? Pin
KonyangUni6-May-05 1:00
KonyangUni6-May-05 1:00 
Questionhow to know a number is in float type? Pin
paven6-May-05 0:40
paven6-May-05 0:40 
AnswerRe: how to know a number is in float type? Pin
toxcct6-May-05 0:47
toxcct6-May-05 0:47 
GeneralRe: how to know a number is in float type? Pin
Anonymous6-May-05 16:47
Anonymous6-May-05 16:47 
AnswerRe: how to know a number is in float type? Pin
Maximilien6-May-05 2:31
Maximilien6-May-05 2:31 
The only verification that you can do is check if there's a , or . (depending on how you represent floating points numbers ) in the string, between 2 numbers, if it's the case, you can deduce it's a float.

for exemaple

CString sNumber ( "123.123" );

could/would be a float.

but

CString sNumber ( "123123" );

can either be an integer or a float.

or you could use atof and related functions, or maybe sprintf, check the documentation of those functions.



Maximilien Lincourt
Your Head A Splode - Strong Bad
GeneralRe: how to know a number is in float type? Pin
toxcct8-May-05 20:07
toxcct8-May-05 20:07 
AnswerRe: how to know a number is in float type? Pin
Ansari A. Halim6-May-05 2:34
Ansari A. Halim6-May-05 2:34 
GeneralStrange problem... Pin
Krishnan V6-May-05 0:35
Krishnan V6-May-05 0:35 
GeneralRe: Strange problem... Pin
Dan_P6-May-05 1:25
Dan_P6-May-05 1:25 
GeneralMouse Movement Pin
Daniel Kanev5-May-05 23:58
Daniel Kanev5-May-05 23:58 
GeneralRe: Mouse Movement Pin
«_Superman_»6-May-05 2:09
professional«_Superman_»6-May-05 2:09 
QuestionHow to execute Stored procedure with OLE DB Consumer Pin
mikobi5-May-05 23:36
mikobi5-May-05 23:36 
GeneralAFXWIN1.INL assertion Pin
ikasovitch5-May-05 22:31
ikasovitch5-May-05 22:31 
GeneralRe: AFXWIN1.INL assertion Pin
David Crow6-May-05 3:52
David Crow6-May-05 3:52 
GeneralRe: AFXWIN1.INL assertion Pin
ikasovitch6-May-05 4:19
ikasovitch6-May-05 4:19 
GeneralRe: AFXWIN1.INL assertion Pin
David Crow6-May-05 4:40
David Crow6-May-05 4:40 
GeneralRe: AFXWIN1.INL assertion Pin
Anonymous6-May-05 20:23
Anonymous6-May-05 20:23 
GeneralRe: AFXWIN1.INL assertion Pin
David Crow7-May-05 8:15
David Crow7-May-05 8:15 
GeneralUDP - share port between sockets Pin
ally_s5-May-05 22:18
ally_s5-May-05 22:18 
GeneralRe: UDP - share port between sockets Pin
PerfectDark6-May-05 2:13
PerfectDark6-May-05 2:13 
GeneralRe: UDP - share port between sockets Pin
ally_s6-May-05 5:26
ally_s6-May-05 5:26 
GeneralRe: UDP - share port between sockets Pin
PerfectDark6-May-05 5:54
PerfectDark6-May-05 5:54 

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.