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-08 21:49

OK, in all fairness, my bbcode fail makes the pointers look worse.

ref_one = ref_two * ref_three;
(*ptr_one) = (*ptr_two) * (*ptr_three);

Name: Anonymous 2010-03-09 1:26

>>9
**& ptr_one =* ptr_two */*/*/* ptr_three;

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