3 ms·
C++ pointer/reference syntax. I understand the concepts, and pointers make perfect sense to me when I'm programming in assembly, but whenever I look at them in
by jtolmar 9y ago
C++ pointer/reference syntax.
I understand the concepts, and pointers make perfect sense to me when I'm programming in assembly, but whenever I look at them in C++ it's like & and * mean the opposite things when used in variable declarations from what they mean when used as an operator and yet another thing when used to declare arguments. But I've never seen anyone else acknowledge that they're weird so I feel like there's some sort of logical connection I'm missing.
- samblr 9y agoSecond this.