• -- Coming Soon
  • contact@radlabgaming.com

Modern C++

Modern C++

Hey everyone!

 

It is time to accept modern C++ and embrace the useful functions including auto’s, smart prts, and templates! So today we are going to start by replacing all of our ::iterators with the auto variable instead. This allows c++ to still understand what the type is but at the same time it prevents us from having to type all of that code out each time just restating the type.

 

The next thing I normally use and love to use is called normal pointers or raw pointers. However with modern c++ they have gotten something new called smart pointers! They sound like they are going to be absolutely amazing and will remove the requirement for cleaning up our pointers as we  go!

 

Very excited to start the refactoring and like always we will start it by livecoding: LiveCoding

 

Thanks everyone!

RadLabGaming

blanet910@yahoo.com

Leave a Comment