Jump to content

  • Log In with Google      Sign In   
  • Create Account


Retro Grade



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

Posted by superman3275, in Structure, C++11 30 November 2012 · 915 views

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


[Structure] When To Seperate Classes and Functions?

Posted by superman3275, in Structure 23 October 2012 · 649 views

In the programming world (Object Oriented and Procedural) there is this meta-cognitive idea that if a class or function is too big, we should divide it into smaller classes and functions. From this spawned the basics of procedural programming. This way of thinking carried over to object oriented programming in the form of the Single Responsiblity Principle...





PARTNERS