vector/pointer?
Hi, is there a difference between a vector and a pointer or is it really the same thing?
Thanks.
Assuming you're talking about C++, a vector and a pointer are two very differnt things. A std::vector object contains a dynamic array of objects. A pointer is a low level construct that contains a (possibly invalid) memory address of an object.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement