Click here to Skip to main content
15,879,535 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is this array of 2D vectors? Pin
Richard MacCutchan7-Oct-22 21:35
mveRichard MacCutchan7-Oct-22 21:35 
QuestionStyle question Pin
Mircea Neacsu3-Oct-22 15:33
Mircea Neacsu3-Oct-22 15:33 
AnswerRe: Style question Pin
Graham Breach3-Oct-22 21:23
Graham Breach3-Oct-22 21:23 
GeneralRe: Style question Pin
Mircea Neacsu4-Oct-22 2:27
Mircea Neacsu4-Oct-22 2:27 
AnswerRe: Style question Pin
CPallini3-Oct-22 23:47
mveCPallini3-Oct-22 23:47 
GeneralRe: Style question Pin
Mircea Neacsu4-Oct-22 2:28
Mircea Neacsu4-Oct-22 2:28 
GeneralRe: Style question Pin
CPallini7-Oct-22 1:35
mveCPallini7-Oct-22 1:35 
AnswerRe: Style question Pin
BernardIE53177-Oct-22 3:14
BernardIE53177-Oct-22 3:14 
I have a more or less strict rule i.e. to wit in particular to be specific namely things that act like pointers are passed via copy constructor not via reference since raw pointers are fundamental type objects so take up little space and a reference is a pointer anyway. I agree w/ the chap who suggested passing only what the function requires i.e. first, last iterators. Further at point of call the code is easier to understand its purpose as it passes only what the function requires also it just looks better and is easier to understand as fewer ideas/concepts are involved namely the one idea/concept "iterator" rather than the two ideas/concepts "iterator and container". Was there not a recent article in a recent CP newsletter discussing this very thing i.e. minimizing the number of ideas/concepts needed to understand any code?
GeneralRe: Style question Pin
Mircea Neacsu7-Oct-22 3:18
Mircea Neacsu7-Oct-22 3:18 
GeneralRe: Style question Pin
BernardIE53177-Oct-22 3:27
BernardIE53177-Oct-22 3:27 
GeneralRe: Style question Pin
Mircea Neacsu7-Oct-22 3:40
Mircea Neacsu7-Oct-22 3:40 
Question'System': a namespace with this name does not exist Pin
Kevin Marois3-Oct-22 6:12
professionalKevin Marois3-Oct-22 6:12 
AnswerRe: 'System': a namespace with this name does not exist Pin
Richard MacCutchan3-Oct-22 6:26
mveRichard MacCutchan3-Oct-22 6:26 
GeneralRe: 'System': a namespace with this name does not exist Pin
Kevin Marois3-Oct-22 6:30
professionalKevin Marois3-Oct-22 6:30 
GeneralRe: 'System': a namespace with this name does not exist Pin
Richard MacCutchan3-Oct-22 6:39
mveRichard MacCutchan3-Oct-22 6:39 
GeneralRe: 'System': a namespace with this name does not exist Pin
Kevin Marois3-Oct-22 6:43
professionalKevin Marois3-Oct-22 6:43 
GeneralRe: 'System': a namespace with this name does not exist Pin
Richard MacCutchan3-Oct-22 6:50
mveRichard MacCutchan3-Oct-22 6:50 
GeneralRe: 'System': a namespace with this name does not exist Pin
Kevin Marois3-Oct-22 6:51
professionalKevin Marois3-Oct-22 6:51 
QuestionList assertation failure Pin
ForNow2-Oct-22 15:50
ForNow2-Oct-22 15:50 
AnswerRe: List assertation failure Pin
Graham Breach2-Oct-22 21:06
Graham Breach2-Oct-22 21:06 
GeneralRe: List assertation failure Pin
ForNow2-Oct-22 21:22
ForNow2-Oct-22 21:22 
GeneralRe: List assertation failure Pin
Graham Breach2-Oct-22 21:46
Graham Breach2-Oct-22 21:46 
GeneralRe: List assertation failure Pin
ForNow3-Oct-22 8:49
ForNow3-Oct-22 8:49 
AnswerRe: List assertation failure Pin
CPallini2-Oct-22 21:08
mveCPallini2-Oct-22 21:08 
GeneralRe: List assertation failure Pin
ForNow2-Oct-22 22:17
ForNow2-Oct-22 22:17 

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.