Originally posted by avi123
if I can't use reference (that's one of the project rules)
should I use a string or a pointer to a string?
If you can't use a reference, this must be an assignment, in which case the small optimization of passing by reference is unimportant.

Pass by value. It will look cleaner.

Jeff