//Content under construction, as I’m migrating the data from my old website π
Compiling C++ codes can be done in multiple ways. In this page, I list some of them which I personally use (Visual Studio, Qt, CMake and GCC).
C++ is my favourite programming language and my first experience with learning Object Oriented Programming (OOP). The key features of OOP are: inheritance – polymorphic and encapsulation (and fundamentally abstraction).
Table of Contents
1. C++ Programming Basics
2. Loops & Decisions
3. Structures
4. Functions
5. Objects & Classes
6. Arrays & Strings
7. Operator Overloading
8. Inheritance
9. Pointers
10. Virtual Functions
11. Streams & Files
12. Multi-file programs
13. Templates & Exceptions
14. Standard Template Library
15. Object-Oriented Design
Appendix: Necessary Notes
Header files needed for some library functions
- C Programming Basics
- Basics
- Comments
- Variables [Integers β Short β Long — Char — Floating Point β double β long-double — Boolean — unsigned data types — Type Conversion]
- Casts
- Output/Input
- Arithmetic Operators
- Loops & Decisions
- Logical operators
- Loops [For loop — While loop — Do loop]
- Decisions [If — Switch]
- Conditional operator — Logical Operator
- Other Control Statements
- Structures
- Structures
- Enumerations
- Functions
- No arguments
- Passing constants as arguments
- Passing variables
- Overloaded functions
- Inline functions
- Default arguments
- Variables and Storage Classes
- Automatic
- External
- Static
- Returning by reference
- Const function arguments
- Objects & Classes
- C++ Objects as data types
- Constructors
- Destructors
- Objects as function arguments
- The default copy constructor
- Returning objects from functions
- Card game example
- Structures and classes
- Static class data β object, classes and memory
- const and classes
- const objects
- Arrays & Strings
- Arrays Fundamentals
- Multidimensional arrays
- Arrays as function arguments
- Arrays of structures
- Arrays as class member data
- Arrays of objects
- Arrays of cards
- C-strings