Original Post
Hi. I just want to know something(obviously :) I have a vector where person is a class with 2 functions and 3 variables. When I pass a vector to a function, which modifies the contents of the vector, do I need to pass it as a pointer/reference, or just as a value? I want to retain the modifications made. Thanks :-)