Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionvirtual member? Pin
Stan the man20-Dec-07 2:52
Stan the man20-Dec-07 2:52 
AnswerRe: virtual member? Pin
Chris Losinger20-Dec-07 3:01
professionalChris Losinger20-Dec-07 3:01 
GeneralRe: virtual member? Pin
Stan the man20-Dec-07 3:07
Stan the man20-Dec-07 3:07 
AnswerRe: virtual member? Pin
Maximilien20-Dec-07 3:06
Maximilien20-Dec-07 3:06 
GeneralRe: virtual member? Pin
Stan the man20-Dec-07 3:11
Stan the man20-Dec-07 3:11 
AnswerRe: virtual member? Pin
Matthew Faithfull20-Dec-07 3:12
Matthew Faithfull20-Dec-07 3:12 
GeneralConvert string to long Pin
SWDevil20-Dec-07 2:41
SWDevil20-Dec-07 2:41 
GeneralRe: Convert string to long Pin
CPallini20-Dec-07 2:53
mveCPallini20-Dec-07 2:53 
The numeric value corrensponding to your string simply doesn't fit inside a variable of type long; in such cases the atol returns LONG_MAX (i.e. 2147483647).
You can use _strtoi64 function and a variable of type __int64 that holds values up to 9223372036854775807.
Smile | :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

[my articles]


GeneralRe: Convert string to long Pin
Matthew Faithfull20-Dec-07 3:03
Matthew Faithfull20-Dec-07 3:03 
QuestionDetection of databases Pin
tom groezer20-Dec-07 2:14
tom groezer20-Dec-07 2:14 
GeneralRe: Detection of databases Pin
David Crow20-Dec-07 2:28
David Crow20-Dec-07 2:28 
Questionhow to format a pen drive? Pin
Shayantani20-Dec-07 1:27
Shayantani20-Dec-07 1:27 
AnswerRe: how to format a pen drive? [modified] Pin
kakan20-Dec-07 2:08
professionalkakan20-Dec-07 2:08 
GeneralReally Not An Easy Ques. !!!!!!!! Pin
AhmedOsamaMoh20-Dec-07 1:13
AhmedOsamaMoh20-Dec-07 1:13 
GeneralRe: Really Not An Easy Ques. !!!!!!!! Pin
CPallini20-Dec-07 1:58
mveCPallini20-Dec-07 1:58 
GeneralRe: Really Not An Easy Ques. !!!!!!!! Pin
AhmedOsamaMoh20-Dec-07 2:28
AhmedOsamaMoh20-Dec-07 2:28 
GeneralRe: Really Not An Easy Ques. !!!!!!!! Pin
David Crow20-Dec-07 2:35
David Crow20-Dec-07 2:35 
GeneralRe: Really Not An Easy Ques. !!!!!!!! Pin
CPallini20-Dec-07 2:38
mveCPallini20-Dec-07 2:38 
GeneralRe: Really Not An Easy Ques. !!!!!!!! Pin
Matthew Faithfull20-Dec-07 2:46
Matthew Faithfull20-Dec-07 2:46 
GeneralRe: Really Not An Easy Ques. !!!!!!!! Pin
Member 75496020-Dec-07 4:27
Member 75496020-Dec-07 4:27 
GeneralRe: Really Not An Easy Ques. !!!!!!!! Pin
AhmedOsamaMoh20-Dec-07 5:44
AhmedOsamaMoh20-Dec-07 5:44 
GeneralRe: Really Not An Easy Ques. !!!!!!!! Pin
David Crow20-Dec-07 5:51
David Crow20-Dec-07 5:51 
GeneralRe: Really Not An Easy Ques. !!!!!!!! Pin
Member 75496020-Dec-07 5:58
Member 75496020-Dec-07 5:58 
GeneralRe: Really Not An Easy Ques. !!!!!!!! Pin
David Crow20-Dec-07 6:12
David Crow20-Dec-07 6:12 
GeneralRe: Really Not An Easy Ques. !!!!!!!! Pin
AhmedOsamaMoh20-Dec-07 6:12
AhmedOsamaMoh20-Dec-07 6:12 

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.