Skip to content

Has all cpp modules from 42 cursus in separated folders

Notifications You must be signed in to change notification settings

61l65x/cpp_modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction to C++

Overview

This course is designed to introduce you to the C++ programming language. Throughout this course, you'll learn about C++ syntax, new keywords, classes, and their relationship with structs, as well as the implementation of methods.

Course Objectives

  • Grasp the basic syntax of C++.
  • Comprehend the use of new keywords.
  • Understand the structure and usage of classes.
  • Learn how classes are related to and differ from structs.
  • Explore how methods are defined and used within classes.

Key Concepts

Basic Syntax and Keywords

C++ syntax is the set of rules that defines the combinations of symbols that are considered to be correctly structured programs in the language. Keywords are reserved words that have special meanings and uses.

Classes and Objects

Classes are user-defined types that contain variables and functions. Objects are instances of classes.

Structs vs Classes

Structs and classes are fundamentally similar in C++, but they differ primarily in their default access control. Struct members are public by default, making them a good choice for passive data structures. In contrast, class members are private by default, enforcing encapsulation.

Methods

Methods are member functions of a class or struct that operate on its data members. In classes, they can be defined to perform tasks like calculations or modify the object's state.

Conclusion

  • Good luck, and enjoy your journey into the world of C++ programming!
  • Start building things and exploring new concepts.

About

Has all cpp modules from 42 cursus in separated folders

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published