0bvim / cpp

Namespaces, classes, member functions, stdio streams, initialization lists, static, const, and some other basic stuff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introducing to Object-oriented programming (OOP)

Namespaces, classes, member functions, stdio streams in C++

Note

I developed this modules without TDD (Test-driven development) but now I start to implement it from the first exercices.

If you wanna run tests go for this section


About modules and exercices

Module 00

This module is to learn about syntax of language and understand how to create a class and methods, read a code made in cpp and implement classes using this provided files as base.

Module 01

This module is about pointers to members, memory allocation, references, switch statements.

Module 02

This module is about polymorphism, operator overloading and Orthodox Canonical class form

Module 03

This module is about inheritance in general, and about the diamond problem.

Module 04

This module is about subtype polymorphism, abstract classes and interfaces.

Module 05

This module is to trainning the past concepts and work with exceptions.

Module 06

This module is about casting, conversion of scalar types, serialization, identify real type and so forth.

Module 07

This module is about templates, how to use and create them.

Module 08

This module we start to work with STL (standard template library), templated containers and more iterators.

Module 09

This module force in every exercice to use STL.


Google Framework

You should install google tests framework on your system if you don't have yet or run it in a codespaces or a container docker this is the repository with documentation google test framework

If you install correctly, (in root directory of exercice like ex00) type make run_tests and output should be like this (module_00/ex00):

image

About

Namespaces, classes, member functions, stdio streams, initialization lists, static, const, and some other basic stuff

License:MIT License


Languages

Language:C++ 85.2%Language:Makefile 14.5%Language:Shell 0.3%Language:C 0.1%