I would use pointers, it's easier to pass in one function call rather than 
passing an object of what ever size.


Thanks,
Tyler Littlefield
Web: tysdomain.com
email: [email protected]
My programs don't have bugs, they're called randomly added features.

  ----- Original Message ----- 
  From: Jos Timanta Tarigan 
  To: [email protected] 
  Sent: Monday, April 20, 2009 9:18 AM
  Subject: [c-prog] vector of pointer





  hi,

  when you put an object to a vector eg: vector1.push_back(object); dyou copy 
the object or just sending the pointer to that object? is there any point of 
creating a vector of pointer for efficiency stuuff?

  thanks in advance

  [Non-text portions of this message have been removed]



  

[Non-text portions of this message have been removed]

Reply via email to