<

Introduction to C++: Vectors - Clearing and Detecting Empty Vectors

Posted on
3,201 Points
101 Views
1 Endorsement
Last Modified:
Experience Level: Beginner
5:12
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
1
Author:Ian Ma
1 Comment
LVL 30

Expert Comment

by:pepr
I suggest to switch to Visual Studio 2013, and start with the C++11 features. They make C++ much nicer also for beginners.

Related to the presentation, a vector initializer can be used, the new form of the for loop can be used (no hardwired numbers needed).
0

Featured Post

OWASP: Avoiding Hacker Tricks

Learn to build secure applications from the mindset of the hacker and avoid being exploited.

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
An EE member wants to move all open windows at once (not one window at a time) from a primary monitor to a secondary one by pressing a hotkey. Bonus: another hotkey that goes in the other direction — move all windows from the secondary to the primar…
Next Video:

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month