Click here to Skip to main content
15,900,108 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: string s1 = "abcd"; string s2 = "2.53", how to detect that s2 representing a numeber? Pin
Hamid_RT15-Mar-06 18:17
Hamid_RT15-Mar-06 18:17 
GeneralRe: string s1 = "abcd"; string s2 = "2.53", how to detect that s2 representing a numeber? Pin
mrby12315-Mar-06 18:29
mrby12315-Mar-06 18:29 
AnswerRe: string s1 = "abcd"; string s2 = "2.53", how to detect that s2 representing a numeber? Pin
Johann Gerell15-Mar-06 20:02
Johann Gerell15-Mar-06 20:02 
GeneralRe: string s1 = "abcd"; string s2 = "2.53", how to detect that s2 representing a numeber? Pin
Nemanja Trifunovic16-Mar-06 2:13
Nemanja Trifunovic16-Mar-06 2:13 
GeneralRe: string s1 = "abcd"; string s2 = "2.53", how to detect that s2 representing a numeber? Pin
Johann Gerell16-Mar-06 2:38
Johann Gerell16-Mar-06 2:38 
GeneralRe: string s1 = "abcd"; string s2 = "2.53", how to detect that s2 representing a numeber? Pin
Nemanja Trifunovic16-Mar-06 3:08
Nemanja Trifunovic16-Mar-06 3:08 
AnswerRe: string s1 = "abcd"; string s2 = "2.53", how to detect that s2 representing a numeber? Pin
normanS15-Mar-06 18:13
normanS15-Mar-06 18:13 
AnswerRe: string s1 = "abcd"; string s2 = "2.53", how to detect that s2 representing a numeber? Pin
Nibu babu thomas15-Mar-06 18:16
Nibu babu thomas15-Mar-06 18:16 
mrby123 wrote:
how to detect (code)that s2 representing a numeber


Scan through the string and check using _istdigit. If a
particular character is a number then this function returns a non zero value.


mrby123 wrote:
whereas s1 a character string ?


Same here too except use _istalpha.


Nibu thomas
Software Developer

GeneralRe: string s1 = "abcd" string s2 = "2.53", how to detect that s2 representing a numeber? Pin
mrby12315-Mar-06 18:24
mrby12315-Mar-06 18:24 
GeneralRe: string s1 = "abcd" string s2 = "2.53", how to detect that s2 representing a numeber? Pin
Nibu babu thomas15-Mar-06 18:29
Nibu babu thomas15-Mar-06 18:29 
GeneralRe: string s1 = "abcd" string s2 = "2.53", how to detect that s2 representing a numeber? Pin
mrby12315-Mar-06 18:41
mrby12315-Mar-06 18:41 
GeneralRe: string s1 = "abcd" string s2 = "2.53", how to detect that s2 representing a numeber? Pin
Nibu babu thomas15-Mar-06 18:49
Nibu babu thomas15-Mar-06 18:49 
AnswerRe: string s1 = "abcd"; string s2 = "2.53", how to detect that s2 representing a numeber? Pin
Johann Gerell16-Mar-06 2:38
Johann Gerell16-Mar-06 2:38 
Question"History Folder" in office applications Pin
Anil_vvs15-Mar-06 17:56
Anil_vvs15-Mar-06 17:56 
QuestionHow to enable disabled check box Pin
Joy Anne15-Mar-06 17:49
Joy Anne15-Mar-06 17:49 
AnswerRe: How to enable disabled check box Pin
Nibu babu thomas15-Mar-06 17:51
Nibu babu thomas15-Mar-06 17:51 
GeneralRe: How to enable disabled check box Pin
jhwurmbach16-Mar-06 6:38
jhwurmbach16-Mar-06 6:38 
GeneralRe: How to enable disabled check box Pin
Nibu babu thomas16-Mar-06 16:52
Nibu babu thomas16-Mar-06 16:52 
GeneralRe: How to enable disabled check box Pin
jhwurmbach16-Mar-06 21:50
jhwurmbach16-Mar-06 21:50 
GeneralRe: How to enable disabled check box Pin
Nibu babu thomas16-Mar-06 22:39
Nibu babu thomas16-Mar-06 22:39 
AnswerRe: How to enable disabled check box Pin
Hamid_RT15-Mar-06 20:08
Hamid_RT15-Mar-06 20:08 
Questionhow to interrrogate line by line, pick-up "Shmplk Reta : 1024 wps#, and store the three columns numbers into x[],y[],z[] Pin
mrby12315-Mar-06 17:16
mrby12315-Mar-06 17:16 
AnswerRe: how to interrrogate line by line, pick-up "Shmplk Reta : 1024 wps#, and store the three columns numbers into x[],y[],z[] Pin
John M. Drescher15-Mar-06 17:39
John M. Drescher15-Mar-06 17:39 
QuestionTreeView in VC++ 6.0 Pin
pankajgarg1215-Mar-06 17:15
pankajgarg1215-Mar-06 17:15 
AnswerRe: TreeView in VC++ 6.0 Pin
Nibu babu thomas15-Mar-06 18:17
Nibu babu thomas15-Mar-06 18:17 

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.