pgomez-a / 42_CPP_Piscine

Let's get into the amazing world of Object Oriented Programming !! Learn about: namespaces, references, polymorphism, templates and much more with this Piscine C ++

Home Page:https://www.linkedin.com/in/pgomez-a/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

42_CPP_Piscine

This is a C ++ Piscine designed to gain mastery with this amazing programming language. This C++ Piscine will be very important to understand and develop new skills related to the world of Object Oriented Programming, inheritance, polymorphism and many other things that I will try to cover in this README. However, do not forget that these notes are just a little information about everything that you will have to study if you want to do a good project. In the end, this is just an attempt to provide you with a learning path during the development of your project, but at no point do I present it as the only source of information to be consulted. :)

If you want to learn more about IT topics, I invite you to join my Patreon channel and visit my website: IA Notes

What is C++?

C ++ is a programming language, which comes from the extension of the C programming language, which allows us to manipulate objects, these being a new way of programming that we don't really have in C. Therefore, we can understand it as an extension of C that will allow us to get the best of two worlds, procedural programming and object-oriented programming.

What is Object Oriented Programming?

Object-oriented programming (OOP) forms a new programming paradigm that attempts to show how code could be applied in the real world. The most important aspects of this new paradigm are:

  • Class: collection of attributes and functions in order to represent a specific type of data. With classes, we define a new data type by defining its "pieces" (attributes) and how these "pieces" (methods) can be used. Therefore, classes can be understood as a specific way of manipulating data thanks to the use of methods.
  • Objects: instance of a class, that is, a concrete representation of the class that has been defined. When you declare a class to use it, you are actually instantiating an object of that class, so that you can declare different objects of the same class.

A class is a template. Defines how the objects of a certain data type will be. This class will be characterized by a set of attributes (class properties) and a set of methods (actions that can be performed). Each instance of the class is an object, which will have its own characteristics.

What is encapsulation?

Encapsulation contains all the important information of an object within itself and only displays the selected data to the outside world. The private attributes of an object must be inaccessible from anywhere outside the object, and can only be modified by calling functions on that object.

What is abstraction?

Abstraction is when the user only interacts with the selected attributes and methods of an object.

Index of topics covered

About

Let's get into the amazing world of Object Oriented Programming !! Learn about: namespaces, references, polymorphism, templates and much more with this Piscine C ++

https://www.linkedin.com/in/pgomez-a/

License:MIT License


Languages

Language:C++ 89.6%Language:Makefile 10.4%