Click here to Skip to main content
15,883,910 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Drag and drop to specific item in tree? Pin
adonisv30-Dec-03 6:02
adonisv30-Dec-03 6:02 
GeneralLinking new dialog’s textbox w/ old dialog Pin
Spank me!!22-Dec-03 9:37
Spank me!!22-Dec-03 9:37 
GeneralRe: Linking new dialog’s textbox w/ old dialog Pin
David Crow22-Dec-03 11:12
David Crow22-Dec-03 11:12 
Generallink error: msvcirt.dll Pin
Vincent Sim22-Dec-03 9:33
Vincent Sim22-Dec-03 9:33 
GeneralRe: link error: msvcirt.dll Pin
David Crow22-Dec-03 11:14
David Crow22-Dec-03 11:14 
GeneralTrouble Compiling Help Files Pin
Anonymous22-Dec-03 9:05
Anonymous22-Dec-03 9:05 
GeneralRe: Trouble Compiling Help Files Pin
Roger Allen23-Dec-03 2:54
Roger Allen23-Dec-03 2:54 
Generalstring check Pin
act_x22-Dec-03 8:05
act_x22-Dec-03 8:05 
I have a function that looks like

Process(string str1 , string str2)<br />
{<br />
string concat ;<br />
concat = str1+":"+str2;<br />
ProcessFurther(concat);<br />
}

str1 and str2 passed are strings but represent numbers. Is there a way i can do a type checking to find if its a valid number .
I am looking for something like isNumber() functionality as i need to make sure that what is passed is surely a valid integer and not a garbage string which might have catastrophic results !

Please advise
GeneralRe: string check Pin
PJ Arends22-Dec-03 9:21
professionalPJ Arends22-Dec-03 9:21 
GeneralRe: string check Pin
act_x22-Dec-03 9:47
act_x22-Dec-03 9:47 
GeneralRe: string check Pin
PJ Arends22-Dec-03 9:54
professionalPJ Arends22-Dec-03 9:54 
GeneralRe: string check Pin
act_x22-Dec-03 10:13
act_x22-Dec-03 10:13 
GeneralRe: string check Pin
nde_plume22-Dec-03 11:03
nde_plume22-Dec-03 11:03 
GeneralRe: string check Pin
PJ Arends22-Dec-03 11:42
professionalPJ Arends22-Dec-03 11:42 
GeneralRe: string check Pin
nde_plume22-Dec-03 12:24
nde_plume22-Dec-03 12:24 
GeneralPacket Filtering Pin
RedDragon2k22-Dec-03 8:01
RedDragon2k22-Dec-03 8:01 
GeneralRe: Packet Filtering Pin
User 665822-Dec-03 8:33
User 665822-Dec-03 8:33 
GeneralRe: Packet Filtering Pin
RedDragon2k22-Dec-03 8:35
RedDragon2k22-Dec-03 8:35 
QuestionHow to close a file opened by the user in MFC? Pin
Binayak22-Dec-03 7:24
Binayak22-Dec-03 7:24 
AnswerRe: How to close a file opened by the user in MFC? Pin
Antti Keskinen22-Dec-03 9:01
Antti Keskinen22-Dec-03 9:01 
Generalproblems with vc98\include Pin
aidanh22-Dec-03 6:24
aidanh22-Dec-03 6:24 
GeneralRe: problems with vc98\include Pin
Selvam R23-Dec-03 9:54
professionalSelvam R23-Dec-03 9:54 
GeneralIgnoring directive Pin
JensB22-Dec-03 4:55
JensB22-Dec-03 4:55 
GeneralRe: Ignoring directive Pin
David Crow22-Dec-03 11:20
David Crow22-Dec-03 11:20 
GeneralRe: Ignoring directive Pin
Robert Kuster22-Dec-03 12:14
Robert Kuster22-Dec-03 12:14 

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.