Click here to Skip to main content
14,297,726 members

C / C++ / MFC

 
GeneralRe: Dialog box margins Pin
leon de boer23-Feb-19 4:30
memberleon de boer23-Feb-19 4:30 
AnswerRe: Dialog box margins Pin
leon de boer22-Feb-19 5:37
memberleon de boer22-Feb-19 5:37 
GeneralRe: Dialog box margins Pin
Alexander Kindel22-Feb-19 9:04
memberAlexander Kindel22-Feb-19 9:04 
GeneralRe: Dialog box margins Pin
leon de boer22-Feb-19 10:00
memberleon de boer22-Feb-19 10:00 
SuggestionRe: Dialog box margins Pin
David Crow24-Feb-19 16:23
memberDavid Crow24-Feb-19 16:23 
QuestionTraceability of Dynamic Memory Allocation Faults Pin
HS_C_Student16-Feb-19 22:24
memberHS_C_Student16-Feb-19 22:24 
AnswerRe: Traceability of Dynamic Memory Allocation Faults Pin
leon de boer17-Feb-19 20:53
memberleon de boer17-Feb-19 20:53 
AnswerRe: Traceability of Dynamic Memory Allocation Faults Pin
Stefan_Lang18-Feb-19 0:15
memberStefan_Lang18-Feb-19 0:15 
Many memory problems come from inherent issue with pointers that lets you copy the reference to an allocated object without restriction, but then doesn't let these references track when someone deletes it. Neither indirection nor garbage collection can solve that. Instead, use smart pointers!

Smart pointers behave for the most part like normal pointers, but they also make sure that the allocated objects get released when they are no longer referenced. And not earlier!

You can check your preferred search engine on this topic or just take the first hit:
c++ - What is a smart pointer and when should I use one? - Stack Overflow[^]
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

AnswerRe: Traceability of Dynamic Memory Allocation Faults Pin
jschell23-Feb-19 10:41
memberjschell23-Feb-19 10:41 
QuestionCeratingNameePipe Server Application Using C++ Classes Pin
Member 1271142615-Feb-19 0:23
memberMember 1271142615-Feb-19 0:23 
AnswerRe: CeratingNameePipe Server Application Using C++ Classes Pin
Victor Nijegorodov15-Feb-19 1:03
memberVictor Nijegorodov15-Feb-19 1:03 
GeneralRe: CeratingNameePipe Server Application Using C++ Classes Pin
Member 1271142615-Feb-19 4:53
memberMember 1271142615-Feb-19 4:53 
GeneralRe: CeratingNameePipe Server Application Using C++ Classes Pin
Richard Andrew x6415-Feb-19 13:48
professionalRichard Andrew x6415-Feb-19 13:48 
GeneralRe: CeratingNameePipe Server Application Using C++ Classes Pin
Victor Nijegorodov15-Feb-19 13:53
memberVictor Nijegorodov15-Feb-19 13:53 
GeneralRe: CeratingNameePipe Server Application Using C++ Classes Pin
Richard Andrew x6415-Feb-19 14:11
professionalRichard Andrew x6415-Feb-19 14:11 
GeneralRe: CeratingNameePipe Server Application Using C++ Classes Pin
Victor Nijegorodov15-Feb-19 14:18
memberVictor Nijegorodov15-Feb-19 14:18 
AnswerRe: CeratingNameePipe Server Application Using C++ Classes Pin
Richard MacCutchan15-Feb-19 3:18
protectorRichard MacCutchan15-Feb-19 3:18 
GeneralRe: CeratingNameePipe Server Application Using C++ Classes Pin
Member 1271142615-Feb-19 4:55
memberMember 1271142615-Feb-19 4:55 
QuestionWants guidance. Pin
Member 1415146014-Feb-19 23:46
memberMember 1415146014-Feb-19 23:46 
AnswerRe: Wants guidance. Pin
CPallini15-Feb-19 1:45
mveCPallini15-Feb-19 1:45 
QuestionSelected Row while updating in CListCtrl in MFC Pin
Anu_Bala13-Feb-19 22:29
memberAnu_Bala13-Feb-19 22:29 
AnswerRe: Selected Row while updating in CListCtrl in MFC Pin
Victor Nijegorodov14-Feb-19 1:24
memberVictor Nijegorodov14-Feb-19 1:24 
QuestionHow to resolve: error LNK2001: unresolved external symbol "public: static void * Pin
mlong3013-Feb-19 20:10
membermlong3013-Feb-19 20:10 
AnswerRe: How to resolve: error LNK2001: unresolved external symbol "public: static void * Pin
Victor Nijegorodov13-Feb-19 21:34
memberVictor Nijegorodov13-Feb-19 21:34 
AnswerRe: How to resolve: error LNK2001: unresolved external symbol "public: static void * Pin
CPallini13-Feb-19 21:40
mveCPallini13-Feb-19 21:40 

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.