Skip to content

Dimaszhbankovskii/cpp_piscine_42

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Piscine-CPP C++ icon 42 icon 21 icon

Contents

Program management

Each application's program is compiled with a Makefile on Linux or Mac.
Rules of Makefile:

  • make (build the program)
  • make clean (delete object files *.o)
  • make fclean (delete object files *.o and executable program file)
  • make re (rebuild the program)

Back to Contents

✔ Module 00 :

Description

This module contains the basic elements OOP and basic syntax of the C++ language.

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

Back to Contents

✔ Module 01 :

Description

This module focuses on memory allocation, references, element pointers and the use of the SWITCH in C++.

  • Memory allocation, pointers to members, references, switch statement

Back to Contents

✔ Module 02 :

Description

This module focuses on Ad-hoc polymorphism (Classic or Enforced polymorphism), overloads and orthodox canonical classes in C++.

  • Ad-hoc polymorphism, operator overloading and Orthodox Canonical class form

Back to Contents

✔ Module 03 :

Description

This module focuses on Inheritance in C++.

  • Inheritance

Back to Contents

✔ Module 04 :

Description

This module focuses on Subtype polymorphism, abstract classes and interfaces in C++.

  • Subtype polymorphism, abstract classes, interfaces

Back to Contents

✔ Module 05 :

Description

This module focuses on Try/Catch and Exceptions in C++.

  • Repetition and Exceptions

Back to Contents

✔ Module 06 :

Description

This module focuses on the different casts in CPP.

  • C++ casts

Back to Contents

✔ Module 07 :

Description

This module focuses on Templates in CPP.

  • C++ templates

Back to Contents

✔ Module 08 :

Description

This module focuses on templated containers, iterators and algorithms in CPP.

  • Templated containers, iterators, algorithms

Back to Contents

General rules

  • Compile code with c++ and the flags -Wall -Wextra -Werror

  • Code should still compile with the flag -std=c++98

  • Orthodox Canonical Form:

  1. Default constructor

  2. Copy constructor

  3. Copy assignment operator

  4. Destructor

Back to Contents

About

Learning of the basics of C++ language, OOP, STL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published