Click here to Skip to main content
15,569,644 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is this array of 2D vectors? Pin
Richard MacCutchan7-Oct-22 22:35
mveRichard MacCutchan7-Oct-22 22:35 
QuestionStyle question Pin
Mircea Neacsu3-Oct-22 16:33
Mircea Neacsu3-Oct-22 16:33 
AnswerRe: Style question Pin
Graham Breach3-Oct-22 22:23
Graham Breach3-Oct-22 22:23 
GeneralRe: Style question Pin
Mircea Neacsu4-Oct-22 3:27
Mircea Neacsu4-Oct-22 3:27 
AnswerRe: Style question Pin
CPallini4-Oct-22 0:47
mveCPallini4-Oct-22 0:47 
GeneralRe: Style question Pin
Mircea Neacsu4-Oct-22 3:28
Mircea Neacsu4-Oct-22 3:28 
GeneralRe: Style question Pin
CPallini7-Oct-22 2:35
mveCPallini7-Oct-22 2:35 
AnswerRe: Style question Pin
BernardIE53177-Oct-22 4:14
BernardIE53177-Oct-22 4: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 4:18
Mircea Neacsu7-Oct-22 4:18 
GeneralRe: Style question Pin
BernardIE53177-Oct-22 4:27
BernardIE53177-Oct-22 4:27 
GeneralRe: Style question Pin
Mircea Neacsu7-Oct-22 4:40
Mircea Neacsu7-Oct-22 4:40 
Question'System': a namespace with this name does not exist Pin
Kevin Marois3-Oct-22 7:12
professionalKevin Marois3-Oct-22 7:12 
AnswerRe: 'System': a namespace with this name does not exist Pin
Richard MacCutchan3-Oct-22 7:26
mveRichard MacCutchan3-Oct-22 7:26 
GeneralRe: 'System': a namespace with this name does not exist Pin
Kevin Marois3-Oct-22 7:30
professionalKevin Marois3-Oct-22 7:30 
GeneralRe: 'System': a namespace with this name does not exist Pin
Richard MacCutchan3-Oct-22 7:39
mveRichard MacCutchan3-Oct-22 7:39 
GeneralRe: 'System': a namespace with this name does not exist Pin
Kevin Marois3-Oct-22 7:43
professionalKevin Marois3-Oct-22 7:43 
GeneralRe: 'System': a namespace with this name does not exist Pin
Richard MacCutchan3-Oct-22 7:50
mveRichard MacCutchan3-Oct-22 7:50 
GeneralRe: 'System': a namespace with this name does not exist Pin
Kevin Marois3-Oct-22 7:51
professionalKevin Marois3-Oct-22 7:51 
QuestionList assertation failure Pin
ForNow2-Oct-22 16:50
ForNow2-Oct-22 16:50 
AnswerRe: List assertation failure Pin
Graham Breach2-Oct-22 22:06
Graham Breach2-Oct-22 22:06 
GeneralRe: List assertation failure Pin
ForNow2-Oct-22 22:22
ForNow2-Oct-22 22:22 
GeneralRe: List assertation failure Pin
Graham Breach2-Oct-22 22:46
Graham Breach2-Oct-22 22:46 
GeneralRe: List assertation failure Pin
ForNow3-Oct-22 9:49
ForNow3-Oct-22 9:49 
AnswerRe: List assertation failure Pin
CPallini2-Oct-22 22:08
mveCPallini2-Oct-22 22:08 
GeneralRe: List assertation failure Pin
ForNow2-Oct-22 23:17
ForNow2-Oct-22 23: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.