By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,946 Members | 717 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,946 IT Pros & Developers. It's quick & easy.

Begin() applied on empty Vector returns NULL or non null value????

P: n/a
Col
Begin() method applied on empty Vector returns NULL or non null
value????

Plz help!!!

Thanks&regards,
COL

Apr 21 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a

Col wrote:
Begin() method applied on empty Vector returns NULL or non null
value????
On an empty vector, begin() returns the same value as end(). This is
what you should compare to - not 0.

/Peter
Plz help!!!

Thanks&regards,
COL


Apr 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.