Click here to Skip to main content
15,912,578 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioncatching the memory using without initializing [modified] Pin
shahin namini17-Oct-07 9:49
shahin namini17-Oct-07 9:49 
AnswerRe: catching the memory using without initializing Pin
Nemanja Trifunovic17-Oct-07 9:55
Nemanja Trifunovic17-Oct-07 9:55 
GeneralRe: catching the memory using without initializing Pin
shahin namini17-Oct-07 10:16
shahin namini17-Oct-07 10:16 
AnswerRe: catching the memory using without initializing Pin
Chris Losinger17-Oct-07 10:17
professionalChris Losinger17-Oct-07 10:17 
GeneralRe: catching the memory using without initializing Pin
shahin namini17-Oct-07 10:37
shahin namini17-Oct-07 10:37 
QuestionRe: catching the memory using without initializing Pin
David Crow17-Oct-07 10:44
David Crow17-Oct-07 10:44 
GeneralRe: catching the memory using without initializing Pin
Chris Losinger17-Oct-07 10:59
professionalChris Losinger17-Oct-07 10:59 
AnswerRe: catching the memory using without initializing Pin
David Crow17-Oct-07 10:20
David Crow17-Oct-07 10:20 
shahin namini wrote:
if(class_variable==NULL)
//throw the exception


If the exception is thrown, that means that class_variable was initialized (to NULL).




"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


GeneralRe: catching the memory using without initializing Pin
shahin namini17-Oct-07 10:40
shahin namini17-Oct-07 10:40 
Questioncallbacks in C++: member function pointers / objects Pin
elmendavies17-Oct-07 8:01
elmendavies17-Oct-07 8:01 
AnswerRe: callbacks in C++: member function pointers / objects Pin
Jim Crafton17-Oct-07 8:22
Jim Crafton17-Oct-07 8:22 
GeneralRe: callbacks in C++: member function pointers / objects Pin
elmendavies18-Oct-07 0:02
elmendavies18-Oct-07 0:02 
AnswerRe: callbacks in C++: member function pointers / objects Pin
Chris Losinger17-Oct-07 8:37
professionalChris Losinger17-Oct-07 8:37 
GeneralRe: callbacks in C++: member function pointers / objects Pin
elmendavies18-Oct-07 0:12
elmendavies18-Oct-07 0:12 
AnswerRe: callbacks in C++: member function pointers / objects Pin
Stephen Hewitt17-Oct-07 16:44
Stephen Hewitt17-Oct-07 16:44 
GeneralRe: callbacks in C++: member function pointers / objects Pin
elmendavies18-Oct-07 0:17
elmendavies18-Oct-07 0:17 
GeneralRe: callbacks in C++: member function pointers / objects Pin
Stephen Hewitt18-Oct-07 14:26
Stephen Hewitt18-Oct-07 14:26 
Questionerror in splitt, Help Pin
satw1417-Oct-07 6:32
satw1417-Oct-07 6:32 
QuestionRe: error in splitt, Help Pin
David Crow17-Oct-07 6:39
David Crow17-Oct-07 6:39 
AnswerRe: error in splitt, Help [modified] Pin
satw1417-Oct-07 12:16
satw1417-Oct-07 12:16 
QuestionRe: error in splitt, Help Pin
David Crow17-Oct-07 17:50
David Crow17-Oct-07 17:50 
AnswerRe: error in splitt, Help Pin
James R. Twine17-Oct-07 7:04
James R. Twine17-Oct-07 7:04 
QuestionHow to Convert a Float to a string Pin
saravana00117-Oct-07 5:37
saravana00117-Oct-07 5:37 
AnswerRe: How to Convert a Float to a string Pin
Nelek17-Oct-07 5:44
protectorNelek17-Oct-07 5:44 
AnswerRe: How to Convert a Float to a string Pin
Chris Losinger17-Oct-07 5:46
professionalChris Losinger17-Oct-07 5:46 

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.