Click here to Skip to main content
15,898,036 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Remove white space - empty lines - in editor Pin
Dave Kreskowiak15-Aug-22 9:26
mveDave Kreskowiak15-Aug-22 9:26 
GeneralRe: Remove white space - empty lines - in editor Pin
Richard MacCutchan15-Aug-22 21:30
mveRichard MacCutchan15-Aug-22 21:30 
GeneralRe: Remove white space - empty lines - in editor Pin
Dave Kreskowiak16-Aug-22 3:47
mveDave Kreskowiak16-Aug-22 3:47 
GeneralRe: Remove white space - empty lines - in editor Pin
Richard MacCutchan16-Aug-22 3:54
mveRichard MacCutchan16-Aug-22 3:54 
GeneralRe: Remove white space - empty lines - in editor Pin
Dave Kreskowiak16-Aug-22 4:21
mveDave Kreskowiak16-Aug-22 4:21 
GeneralRe: Remove white space - empty lines - in editor Pin
PIEBALDconsult17-Aug-22 8:26
mvePIEBALDconsult17-Aug-22 8:26 
AnswerRe: Remove white space - empty lines - in editor Pin
trønderen15-Aug-22 11:53
trønderen15-Aug-22 11:53 
GeneralRe: Remove white space - empty lines - in editor Pin
DerekT-P16-Aug-22 23:19
professionalDerekT-P16-Aug-22 23:19 
GeneralRe: Remove white space - empty lines - in editor Pin
Richard MacCutchan17-Aug-22 0:18
mveRichard MacCutchan17-Aug-22 0:18 
QuestionMessage Closed Pin
12-Aug-22 12:28
Member 1496877112-Aug-22 12:28 
AnswerRe: how to resolve and understand how / why it works or not Pin
Richard MacCutchan12-Aug-22 22:12
mveRichard MacCutchan12-Aug-22 22:12 
GeneralMessage Closed Pin
13-Aug-22 4:09
Member 1496877113-Aug-22 4:09 
GeneralRe: how to resolve and understand how / why it works or not Pin
Richard MacCutchan13-Aug-22 4:28
mveRichard MacCutchan13-Aug-22 4:28 
GeneralMessage Closed Pin
13-Aug-22 6:12
Member 1496877113-Aug-22 6:12 
GeneralRe: how to resolve and understand how / why it works or not Pin
Richard MacCutchan13-Aug-22 6:25
mveRichard MacCutchan13-Aug-22 6:25 
QuestionMessage Closed Pin
11-Aug-22 11:18
Member 1496877111-Aug-22 11:18 
AnswerRe: #define won't work in QStringList , gives no error Pin
Mircea Neacsu11-Aug-22 11:57
Mircea Neacsu11-Aug-22 11:57 
GeneralRe: #define won't work in QStringList , gives no error Pin
David Crow11-Aug-22 16:03
David Crow11-Aug-22 16:03 
Questionmanaging objects derived from the same base class using a container Pin
Calin Negru10-Aug-22 3:29
Calin Negru10-Aug-22 3:29 
AnswerRe: managing objects derived from the same base class using a container Pin
Mircea Neacsu10-Aug-22 3:55
Mircea Neacsu10-Aug-22 3:55 
AnswerRe: managing objects derived from the same base class using a container Pin
Greg Utas10-Aug-22 3:56
professionalGreg Utas10-Aug-22 3:56 
Yes. If objects belong to different classes, the only way to store them in a container is to use pointers, because the container allocates the same amount of memory for each entry. If you also want the container to delete an entry when you erase it, declare it as, for example, vector<unique_ptr<T>>.
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing.

GeneralRe: managing objects derived from the same base class using a container Pin
Calin Negru10-Aug-22 6:34
Calin Negru10-Aug-22 6:34 
AnswerRe: managing objects derived from the same base class using a container Pin
Richard MacCutchan10-Aug-22 4:01
mveRichard MacCutchan10-Aug-22 4:01 
GeneralRe: managing objects derived from the same base class using a container Pin
Calin Negru10-Aug-22 6:33
Calin Negru10-Aug-22 6:33 
GeneralRe: managing objects derived from the same base class using a container Pin
Richard MacCutchan10-Aug-22 6:40
mveRichard MacCutchan10-Aug-22 6: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.