LearnCPP

27/12/17

Chapter 7 –

  1. Learnt about array container
    1. which needs “array” header file
    2. this is C++11 Std and requires the flag while compiling
    3. Generic template that can contain any data type
  2. assert
    1. requires “cassert” header file
    2. runtime error catching mechanism
    3. option NDEBUG preprocessor directive disables the assert functionality in the code
    4. You can either disable assertions completely by
      #define NDEBUG
      #include <assert.h>
  3. static_assert
    1. Introduced from c++11
    2. Compile time error catching mechanism

28/12/2017 – Command line arguments

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s