Jump to content

View more

Retro Grade

4: Adsense

[Structure][C++11] The Auto Variable

How many C++ programmers reading this know what an auto variable is. Come on, raise your hand. I count 1... 2... 3... Almost all of you!

However for those of you that don't know the basics of the new standard yet, auto is a new variable that works like this:


Code:


// Hooded.cpp : Defines the entry point for the console...