<

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

Posted on
3,199 Points
99 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

Why Diversity in Tech Matters

Kesha Williams, certified professional and software developer, explores the imbalance of diversity in the world of technology -- especially when it comes to hiring women. She showcases ways she's making a difference through the Colors of STEM program.

Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month