diff --git a/courses/advanced/02-oop/README.md b/courses/advanced/02-oop/README.md index e4f41014..6bdfc3a2 100644 --- a/courses/advanced/02-oop/README.md +++ b/courses/advanced/02-oop/README.md @@ -2,6 +2,8 @@ C++ in a language that keeps evolving and adding new features. The language is now a multi-paradigm language, which means that it supports different programming styles, and we are going to cover the Object-Oriented Programming (OOP) paradigm in this course. +![img.png](img.png) + ## What is OOP? Object-Oriented Programming is a paradigm that encapsulate data and their interactions into a single entity called object. The object is an instance of a class, which is a blueprint for the object. The class defines the data and the operations that can be performed on the data. @@ -107,6 +109,8 @@ We will cover details about polymorphism in another moment. ## Class internals +![img_1.png](img_1.png) + ### Constructors Constructors are special methods, they are called when an object is created, and don't return anything. They are used to initialize the object. If you don't define a constructor, the compiler will generate a default constructor for you. diff --git a/courses/advanced/02-oop/img.png b/courses/advanced/02-oop/img.png new file mode 100644 index 00000000..2586f10c Binary files /dev/null and b/courses/advanced/02-oop/img.png differ diff --git a/courses/advanced/02-oop/img_1.png b/courses/advanced/02-oop/img_1.png new file mode 100644 index 00000000..a3c05740 Binary files /dev/null and b/courses/advanced/02-oop/img_1.png differ diff --git a/courses/advanced/README.md b/courses/advanced/README.md index 8f4e4b65..24612d0b 100644 --- a/courses/advanced/README.md +++ b/courses/advanced/README.md @@ -63,14 +63,16 @@ College dates for the Spring 2024 semester: --- - Week 1. 2024/01/15 - - Topic: Review: variables, decision making, iteration, functions, strings, and arrays. Structs and 2D arrays + - Topic: + - [Review](01-introduction/README.md): variables, decision making, iteration, functions, strings, and arrays. Structs and 2D arrays + - [Setup](01-introduction/setup.md): Github, CLion, Github Actions - ### :bar_chart:{ .lg .middle } __Introduction to OOP__ --- - Week 2. 2024/01/22 - - Topic: Introduction to OOP Objects, classes, member functions, constructors, destructors + - Topic: [Introduction to OOP Objects, classes, member functions, constructors, destructors](02-oop/README.md) - ### :material-code-array:{ .lg .middle } __More about OOP__ diff --git a/mkdocs.yml b/mkdocs.yml index c97b6002..4b50945a 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -198,7 +198,10 @@ markdown_extensions: emoji_index: !!python/name:materialx.emoji.twemoji - pymdownx.highlight: anchor_linenums: true + line_spans: __span + pygments_lang_class: true - pymdownx.inlinehilite + - pymdownx.snippets - pymdownx.keys - pymdownx.magiclink # repo_url_shorthand: true