Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

pointers or references?

Name: Anonymous 2010-03-08 15:05

Hello /prog/.

Can you help me? I'd like to know the real pros and cons of using pointers instead of references (or vice versa) in C++.

Name: Anonymous 2010-03-09 10:21

>>9
(*ptr_one) = (*ptr_two) * (*ptr_three);

Perhaps you should look at the operator precedence table.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List