Let me try putting it this way. If I accidently forgot to space one side of an assignment, would you call that a "different style"? Or am I imitating the teacher? I think you're focusing too hard on minute detail.
Printable View
Let me try putting it this way. If I accidently forgot to space one side of an assignment, would you call that a "different style"? Or am I imitating the teacher? I think you're focusing too hard on minute detail.
Well, no.
I mostly react to the placement of * and &.
That, and indentation.
But hang on a bit. The mix of & and * is because they have different meanings. The latter is used to pass an array of six elements - yes, we could declare the function differently to do that, but it's still not a replacement to use a reference [of course, we could have a reference to an array].
--
Mats