<

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
Comment
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

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Join & Write a Comment

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month