Reference VS Pointers

Mar 7, 2014 at 10:31pm
I've been read several sources (books), and I haven't been able to find a a clear and concise answer (if there is one) when to use one verses the other. One response I received told me that generally you want to use references in method parameters when dealing with large data.

I know it's up to the programmer to decide how to write a program, but I would be very grateful for some guidance.
Mar 8, 2014 at 1:31am
I would say use references whenever possible.
Mar 8, 2014 at 3:17am
There is a good article on this site referencing this idea:
http://www.cplusplus.com/articles/z6vU7k9E/
Mar 8, 2014 at 6:55am
@NT3

Thanks, that article really cleared things up for me.
Topic archived. No new replies allowed.