https://www.learncpp.com/

C++ or CPP is the advanced version of C which is primarily used for higher level, optimized object oriented programming. Honestly C++ is just better in every way opposed to C. C is primarily used for embedded devices which are not able to run C++

C++ Building

  1. Create the .cpp program to solve a problem
  2. Compile the program using g++ or another compiler
  3. Link object files
  4. run the program and debug, alter the original cpp program and repeat.

Alternatively, you can use automated build tools such as make or build2, however it is often better to build from hand

My compile command

g++ -o myfile -g myfile.cpp -o makes a new object file -g enables debugging symbols

Compiling with different directory includes

g++ -o main -I/source/includes main.cpp

C++ File Extensions

.cpp recommended one .cc .cxx

Common C++ Problems

Nomenclature

Philosophy

Concepts

Specific Functions

Cursed C++