Click here to Skip to main content
15,845,212 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: printf without stdio.h Pin
jschell6-Dec-23 8:07
jschell6-Dec-23 8:07 
Questioncopying a file Pin
mike74115-Dec-23 4:24
mike74115-Dec-23 4:24 
AnswerRe: copying a file Pin
Mircea Neacsu5-Dec-23 4:32
Mircea Neacsu5-Dec-23 4:32 
AnswerRe: copying a file Pin
Richard MacCutchan5-Dec-23 5:05
mveRichard MacCutchan5-Dec-23 5:05 
AnswerRe: copying a file Pin
k50545-Dec-23 5:42
mvek50545-Dec-23 5:42 
QuestionMyth of a Myth? Pin
jschell4-Dec-23 4:38
jschell4-Dec-23 4:38 
AnswerRe: Myth of a Myth? Pin
Richard MacCutchan4-Dec-23 5:57
mveRichard MacCutchan4-Dec-23 5:57 
AnswerRe: Myth of a Myth? Pin
Mircea Neacsu4-Dec-23 6:05
Mircea Neacsu4-Dec-23 6:05 
jschell wrote:
The author seems to be suggesting that the specification is guaranteeing that the memory will be collected. But without even reading the spec I seriously doubt it says that. I suspect it is noting that the it might be collected so one should not rely on it.
Of course it doesn't guarantee. Where the memory is coming from and where it is going to, is outside the scope of the language specification. From C++11 to C++23 there was some kind of support for garbage collection using std::declare_reachable, but it was deleted[^].
Mircea

GeneralRe: Myth of a Myth? Pin
harold aptroot6-Dec-23 20:55
harold aptroot6-Dec-23 20:55 
Questionhow to add another primary menu - C + in Qt Pin
Salvatore Terress1-Dec-23 7:34
Salvatore Terress1-Dec-23 7:34 
AnswerRe: how to add another primary menu - C + in Qt Pin
Andre Oosthuizen1-Dec-23 23:18
mveAndre Oosthuizen1-Dec-23 23:18 
GeneralRe: how to add another primary menu - C + in Qt Pin
Richard MacCutchan1-Dec-23 23:22
mveRichard MacCutchan1-Dec-23 23:22 
QuestionInvalidate rectangle Pin
Calin Negru1-Dec-23 1:41
Calin Negru1-Dec-23 1:41 
AnswerRe: Invalidate rectangle Pin
CPallini1-Dec-23 2:01
mveCPallini1-Dec-23 2:01 
GeneralRe: Invalidate rectangle Pin
Calin Negru1-Dec-23 2:40
Calin Negru1-Dec-23 2:40 
GeneralRe: Invalidate rectangle Pin
CPallini1-Dec-23 2:56
mveCPallini1-Dec-23 2:56 
AnswerRe: Invalidate rectangle Pin
Richard MacCutchan1-Dec-23 3:13
mveRichard MacCutchan1-Dec-23 3:13 
GeneralRe: Invalidate rectangle Pin
Calin Negru1-Dec-23 4:55
Calin Negru1-Dec-23 4:55 
GeneralRe: Invalidate rectangle Pin
Richard MacCutchan1-Dec-23 5:28
mveRichard MacCutchan1-Dec-23 5:28 
GeneralRe: Invalidate rectangle Pin
Calin Negru2-Dec-23 6:02
Calin Negru2-Dec-23 6:02 
GeneralRe: Invalidate rectangle Pin
Richard MacCutchan2-Dec-23 7:47
mveRichard MacCutchan2-Dec-23 7:47 
AnswerRe: Invalidate rectangle Pin
charlieg7-Dec-23 2:24
charlieg7-Dec-23 2:24 
Questionanother "include" question... Pin
Salvatore Terress8-Dec-23 6:58
Salvatore Terress8-Dec-23 6:58 
AnswerRe: another "include" question... Pin
MarkTJohnson28-Nov-23 5:32
professionalMarkTJohnson28-Nov-23 5:32 
AnswerRe: another "include" question... Pin
jschell28-Nov-23 5:58
jschell28-Nov-23 5: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.