Click here to Skip to main content
15,908,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: random string generation Pin
Ravi Bhavnani22-Sep-07 5:11
professionalRavi Bhavnani22-Sep-07 5:11 
AnswerRe: random string generation Pin
David Crow23-Sep-07 9:11
David Crow23-Sep-07 9:11 
Question"PutFile" function of CFtpConnection class Pin
AnayKulkarni22-Sep-07 0:38
AnayKulkarni22-Sep-07 0:38 
AnswerRe: "PutFile" function of CFtpConnection class Pin
Parthi_Appu22-Sep-07 0:47
Parthi_Appu22-Sep-07 0:47 
QuestionRe: "PutFile" function of CFtpConnection class Pin
Hamid_RT22-Sep-07 1:57
Hamid_RT22-Sep-07 1:57 
AnswerRe: "PutFile" function of CFtpConnection class Pin
Peter Weyzen22-Sep-07 17:35
Peter Weyzen22-Sep-07 17:35 
Questionproblem in creating singleton class Pin
Shraddha Gautam22-Sep-07 0:17
Shraddha Gautam22-Sep-07 0:17 
AnswerRe: problem in creating singleton class Pin
Parthi_Appu22-Sep-07 0:35
Parthi_Appu22-Sep-07 0:35 
Shraddha Gautam wrote:
for this we are getting the following linker error
undefined symbol singleton::single

You have to initialize the static member outside the class declaration as,
singleton* singleton::single = NULL;

And if your application is multithreaded then you have to use some locking mechanism or if you sure that this singleton instance will be needed from the application start time then modify the initilization as,
singleton* singleton::single = new singleton;





Do your Duty and Don't expect the Result

GeneralRe: problem in creating singleton class Pin
Shraddha Gautam24-Sep-07 2:23
Shraddha Gautam24-Sep-07 2:23 
QuestionShow / Hide View Pin
SOUMEN BISWAS22-Sep-07 0:01
SOUMEN BISWAS22-Sep-07 0:01 
AnswerRe: Show / Hide View Pin
bob1697222-Sep-07 4:44
bob1697222-Sep-07 4:44 
GeneralRe: Show / Hide View Pin
SOUMEN BISWAS26-Sep-07 0:05
SOUMEN BISWAS26-Sep-07 0:05 
QuestionHow to read video files's infomation? Pin
kcynic21-Sep-07 23:13
kcynic21-Sep-07 23:13 
AnswerRe: How to read video files's infomation? Pin
Hamid_RT21-Sep-07 23:36
Hamid_RT21-Sep-07 23:36 
GeneralRe: How to read video files's infomation? Pin
kcynic22-Sep-07 14:58
kcynic22-Sep-07 14:58 
AnswerRe: How to read video files's infomation? Pin
David Crow23-Sep-07 10:07
David Crow23-Sep-07 10:07 
GeneralRe: How to read video files's infomation? Pin
kcynic23-Sep-07 15:27
kcynic23-Sep-07 15:27 
GeneralRe: How to read video files's infomation? Pin
David Crow23-Sep-07 16:34
David Crow23-Sep-07 16:34 
QuestionModal Dialogs Pin
Waldermort21-Sep-07 21:54
Waldermort21-Sep-07 21:54 
AnswerRe: Modal Dialogs Pin
Nishad S21-Sep-07 23:46
Nishad S21-Sep-07 23:46 
GeneralRe: Modal Dialogs Pin
Waldermort21-Sep-07 23:55
Waldermort21-Sep-07 23:55 
GeneralRe: Modal Dialogs Pin
Nishad S22-Sep-07 0:10
Nishad S22-Sep-07 0:10 
GeneralRe: Modal Dialogs Pin
Waldermort22-Sep-07 0:58
Waldermort22-Sep-07 0:58 
AnswerRe: Modal Dialogs Pin
Waldermort22-Sep-07 22:48
Waldermort22-Sep-07 22:48 
Questionhow to write new line character in a text file? Pin
AnayKulkarni21-Sep-07 21:38
AnayKulkarni21-Sep-07 21:38 

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.