This repository contains all my project that I created during learning c++
- They are straightforward (not overly complicated or confusing).
- They are well documented (especially around any assumptions being made or limitations).
- They are built modularly, so parts can be reused or changed later without impacting other parts of the program.
- They are robust, and can recover or give useful error messages when something unexpected happens.
- It checks if the code follows the rules and throughs an error if not
- It translates the source code into machine language files (object file). Object files have the file extension .o or .obj. Their name is the same as the .cpp file
- Creates an executable from the object files
- Links library files
- Resolves all cross-file dependencies
! Use Makefiles for building programs
https://www.open-std.org/jtc1/sc22/wg21/docs/standards
- sequence of instructions
- statement = type of instruction
- At the library, program, or function level, use comments to describe what.
- Inside the library, program, or function, use comments to describe how.
- At the statement level, use comments to describe why.
In C++, we use variables to access memory. Variables have an identifier, a type, and a value (and some other attributes that aren’t relevant here). A variable’s type is used to determine how the value in memory should be interpreted.