C++ notes

Documentation link: https://devdocs.io/cpp/
Another helpful link: https://www.programiz.com/cpp-programming/user-defined-function-types

Compile code:

g++ file.cpp -o file.out

Better using g++ instead of gcc since g++ takes by default some dependencies that gcc doesn’t.
-o is to specify the output executable file to run the code, if file not specified will create an “a.out” file.

GDB = debugger. Look at this later.