Click here to Skip to main content
15,898,988 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Determining whether input is string or integer Pin
led mike6-Feb-08 5:27
led mike6-Feb-08 5:27 
GeneralRe: Determining whether input is string or integer Pin
David Crow5-Feb-08 13:47
David Crow5-Feb-08 13:47 
GeneralRe: Determining whether input is string or integer Pin
Klazen5-Feb-08 13:52
Klazen5-Feb-08 13:52 
QuestionRe: Determining whether input is string or integer Pin
David Crow5-Feb-08 17:06
David Crow5-Feb-08 17:06 
GeneralRe: Determining whether input is string or integer Pin
cp98765-Feb-08 16:10
cp98765-Feb-08 16:10 
GeneralRe: Determining whether input is string or integer Pin
User 5838525-Feb-08 17:08
User 5838525-Feb-08 17:08 
GeneralRe: Determining whether input is string or integer Pin
Gregory Bryant5-Feb-08 18:20
Gregory Bryant5-Feb-08 18:20 
GeneralRe: Determining whether input is string or integer Pin
Cedric Moonen5-Feb-08 20:59
Cedric Moonen5-Feb-08 20:59 
Gregory Bryant wrote:
start everything out using a char varable

char number[100]

then us a static_cast
to turn it in to a int if the user enters a charcter they going to get sumthing crazy but other then that you could use if or catch statements


OMG | :OMG: What ?? Are you kidding ? You mean you want to use a static_cast on the char array to convert it to an integer ? Oh man, that is just plain wrong.

Cédric Moonen
Software developer

Charting control [v1.2]

GeneralRe: Determining whether input is string or integer Pin
Christian Graus7-Mar-08 23:26
protectorChristian Graus7-Mar-08 23:26 
GeneralA Problem with Doc-View SDI App Pin
Member 4431375-Feb-08 6:34
Member 4431375-Feb-08 6:34 
GeneralCTreeCtrl lables help please Pin
sarat5-Feb-08 3:31
sarat5-Feb-08 3:31 
NewsRe: CTreeCtrl lables help please Pin
Iain Clarke, Warrior Programmer5-Feb-08 6:19
Iain Clarke, Warrior Programmer5-Feb-08 6:19 
GeneralRe: CTreeCtrl lables help please Pin
Cedric Moonen5-Feb-08 7:13
Cedric Moonen5-Feb-08 7:13 
GeneralRegarding CToolBar & CToolBarCtrl Pin
msr_codeproject5-Feb-08 2:25
msr_codeproject5-Feb-08 2:25 
GeneralRe: Regarding CToolBar & CToolBarCtrl Pin
Iain Clarke, Warrior Programmer5-Feb-08 2:34
Iain Clarke, Warrior Programmer5-Feb-08 2:34 
Questionhow to include library file Pin
sharanu5-Feb-08 2:00
sharanu5-Feb-08 2:00 
AnswerRe: how to include library file Pin
Rajkumar R5-Feb-08 2:17
Rajkumar R5-Feb-08 2:17 
AnswerRe: how to include library file Pin
Chris Losinger5-Feb-08 2:17
professionalChris Losinger5-Feb-08 2:17 
AnswerRe: how to include library file Pin
David Crow5-Feb-08 2:37
David Crow5-Feb-08 2:37 
GeneralRe: how to include library file Pin
Rajesh R Subramanian5-Feb-08 5:22
professionalRajesh R Subramanian5-Feb-08 5:22 
GeneralRe: how to include library file Pin
CPallini5-Feb-08 6:31
mveCPallini5-Feb-08 6:31 
GeneralExtract string from CString Pin
Anu_Bala5-Feb-08 1:35
Anu_Bala5-Feb-08 1:35 
GeneralRe: Extract string from CString Pin
nbugalia5-Feb-08 1:47
nbugalia5-Feb-08 1:47 
GeneralRe: Extract string from CString Pin
Rajkumar R5-Feb-08 1:56
Rajkumar R5-Feb-08 1:56 
GeneralRe: Extract string from CString [modified] Pin
CPallini5-Feb-08 2:08
mveCPallini5-Feb-08 2:08 

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.