Click here to Skip to main content
15,919,132 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Class template argment list Pin
Mark Salsbery17-Nov-07 13:12
Mark Salsbery17-Nov-07 13:12 
AnswerRe: Class template argment list Pin
Jheriko++17-Nov-07 16:22
Jheriko++17-Nov-07 16:22 
QuestionDeleting objects allocated in other objects [modified] Pin
codeprojecter_17-Nov-07 7:30
codeprojecter_17-Nov-07 7:30 
AnswerRe: Deleting objects allocated in other objects Pin
Jheriko++17-Nov-07 16:37
Jheriko++17-Nov-07 16:37 
GeneralRe: Deleting objects allocated in other objects Pin
codeprojecter_18-Nov-07 5:48
codeprojecter_18-Nov-07 5:48 
GeneralRe: Deleting objects allocated in other objects Pin
Jheriko++18-Nov-07 9:47
Jheriko++18-Nov-07 9:47 
AnswerRe: Deleting objects allocated in other objects Pin
Gary R. Wheeler18-Nov-07 0:26
Gary R. Wheeler18-Nov-07 0:26 
GeneralRe: Deleting objects allocated in other objects Pin
codeprojecter_18-Nov-07 5:52
codeprojecter_18-Nov-07 5:52 
thanks Gary,


Gary R. Wheeler wrote:
As a general rule, it's better to delete objects deliberately as soon as they are no longer needed. The mechanism you have described will continuously use more memory as the program runs. The longer it runs, the more memory will be consumed. You could eventually exhaust system resources, which is poor behavior


Thats true i will declare pointer variables for newly returned pointers and delete them when they are no longer needed.
QuestionWorking area of non-primary screens. Pin
RichardM117-Nov-07 5:32
RichardM117-Nov-07 5:32 
AnswerRe: Working area of non-primary screens. Pin
Nelek18-Nov-07 22:15
protectorNelek18-Nov-07 22:15 
GeneralRe: Working area of non-primary screens. Pin
RichardM119-Nov-07 2:29
RichardM119-Nov-07 2:29 
GeneralRe: Working area of non-primary screens. Pin
Nelek19-Nov-07 21:43
protectorNelek19-Nov-07 21:43 
GeneralRe: Working area of non-primary screens. Pin
RichardM123-Nov-07 4:29
RichardM123-Nov-07 4:29 
QuestionFix the window position Pin
CJ94200217-Nov-07 1:35
CJ94200217-Nov-07 1:35 
QuestionRe: Fix the window position Pin
bob1697217-Nov-07 3:53
bob1697217-Nov-07 3:53 
QuestionAbout Socket Pin
manish.patel17-Nov-07 0:52
manish.patel17-Nov-07 0:52 
AnswerRe: About Socket Pin
Mark Salsbery17-Nov-07 5:46
Mark Salsbery17-Nov-07 5:46 
GeneralRe: About Socket Pin
led mike17-Nov-07 6:01
led mike17-Nov-07 6:01 
GeneralRe: About Socket Pin
Mark Salsbery17-Nov-07 6:06
Mark Salsbery17-Nov-07 6:06 
AnswerRe: About Socket Pin
Moak18-Nov-07 12:38
Moak18-Nov-07 12:38 
GeneralRe: About Socket Pin
Moak19-Nov-07 2:48
Moak19-Nov-07 2:48 
QuestionError in getting Handle of editBox? Pin
Atul2317-Nov-07 0:46
Atul2317-Nov-07 0:46 
AnswerRe: Error in getting Handle of editBox? Pin
Hamid_RT17-Nov-07 1:53
Hamid_RT17-Nov-07 1:53 
GeneralRe: Error in getting Handle of editBox? Pin
Atul2317-Nov-07 20:45
Atul2317-Nov-07 20:45 
GeneralRe: Error in getting Handle of editBox? Pin
Hamid_RT18-Nov-07 7:04
Hamid_RT18-Nov-07 7:04 

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.