Click here to Skip to main content
15,881,424 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What MS SDK do you use and why? Pin
charlieg29-Mar-22 2:43
charlieg29-Mar-22 2:43 
QuestionLinked List Cleanup Pin
Calin Negru22-Mar-22 11:03
Calin Negru22-Mar-22 11:03 
AnswerRe: Linked List Cleanup Pin
Greg Utas22-Mar-22 11:26
professionalGreg Utas22-Mar-22 11:26 
GeneralRe: Linked List Cleanup Pin
Calin Negru22-Mar-22 12:30
Calin Negru22-Mar-22 12:30 
GeneralRe: Linked List Cleanup Pin
Greg Utas24-Mar-22 7:19
professionalGreg Utas24-Mar-22 7:19 
GeneralRe: Linked List Cleanup Pin
Calin Negru24-Mar-22 6:04
Calin Negru24-Mar-22 6:04 
GeneralRe: Linked List Cleanup Pin
Greg Utas24-Mar-22 6:13
professionalGreg Utas24-Mar-22 6:13 
GeneralRe: Linked List Cleanup Pin
k505424-Mar-22 7:09
mvek505424-Mar-22 7:09 
Us old-school C programmers tend to forget about the existence of references. Well done, Greg. That's far cleaner than the pointer-to-pointer version the OP presented, but does exactly the same thing.

To the OP:
On the whole though, except as a learning exercise, and some really rare, odd cases, the STL should be the way to go. It's likely to be safer, perhaps faster, and certainly far better tested than your own implementation. The STL should be part of your basic tool kit for C++ programming.
Keep Calm and Carry On

GeneralRe: Linked List Cleanup Pin
Calin Negru24-Mar-22 21:12
Calin Negru24-Mar-22 21:12 
GeneralMFC MDI Change tab styles after Addview is completed via Property Sheet Pin
kittmaster21-Mar-22 10:55
kittmaster21-Mar-22 10:55 
QuestionMessage Closed Pin
21-Mar-22 10:28
Member 1496877121-Mar-22 10:28 
AnswerRe: how do I verify - "all the ducks in the row "? Pin
k505421-Mar-22 11:09
mvek505421-Mar-22 11:09 
GeneralMessage Closed Pin
21-Mar-22 15:28
Member 1496877121-Mar-22 15:28 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Richard MacCutchan21-Mar-22 22:38
mveRichard MacCutchan21-Mar-22 22:38 
GeneralMessage Closed Pin
24-Mar-22 10:36
Member 1496877124-Mar-22 10:36 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
k505424-Mar-22 11:06
mvek505424-Mar-22 11:06 
GeneralMessage Closed Pin
24-Mar-22 13:25
Member 1496877124-Mar-22 13:25 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Richard MacCutchan24-Mar-22 21:49
mveRichard MacCutchan24-Mar-22 21:49 
GeneralMessage Closed Pin
25-Mar-22 10:17
Member 1496877125-Mar-22 10:17 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
k505425-Mar-22 11:26
mvek505425-Mar-22 11:26 
GeneralMessage Closed Pin
25-Mar-22 14:25
Member 1496877125-Mar-22 14:25 
GeneralMessage Closed Pin
25-Mar-22 16:33
Member 1496877125-Mar-22 16:33 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
k505428-Mar-22 5:26
mvek505428-Mar-22 5:26 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Richard MacCutchan25-Mar-22 22:53
mveRichard MacCutchan25-Mar-22 22:53 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
trønderen25-Mar-22 12:58
trønderen25-Mar-22 12:58 

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.