Skip to content

Interrupt101/cpp-concepts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

259 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The cpp-concepts repository is designed to help developers understand and implement core C++ concepts. Each concept is explained with detailed comments and code examples to ensure a thorough understanding.

Getting Started

Prerequisites

To get started with this repository, you need to have the following installed:

  • C++ compiler (e.g., g++, clang++)
  • Git

Installation

  1. Clone the repository:

    git clone https://github.com/Helyousfi/cpp-concepts.git
  2. Navigate to the project directory:

    cd cpp-concepts

Repository Structure

The repository is organized to make learning C++ concepts easier. Each directory focuses on a specific type of content:

  • topics/ → Structured examples explaining core C++ concepts.
  • projects/ → Practical applications using multiple concepts.
  • Labs/ → Exercises to practice and reinforce knowledge.
  • OpenGL/ → Graphics programming experiments and demos.
  • Cheatsheets/ → Quick reference materials for important C++ features.

Topics Covered

This repository includes examples and explanations for many fundamental and advanced C++ topics, including:

  • C++ Basics
  • Pointers & References
  • Object-Oriented Programming (OOP)
  • Casting in C++
  • Smart Pointers
  • STL (Standard Template Library)
  • Modern C++ Features
  • Debugging Techniques
  • Compilation and Build Process
  • OpenGL Programming

Each topic contains well-commented examples designed to help you understand the concepts step by step.


How to Explore the Repository

  1. Start with the topics/ directory to learn core C++ concepts.
  2. Practice using the exercises in Labs/.
  3. Apply what you've learned in the projects/ directory.
  4. Use Cheatsheets/ for quick references when needed.

This structure allows you to learn theory, practice it, and apply it in projects.

Usage

Examples

The repository is organized into directories, each focusing on a specific C++ concept. To run an example, navigate to the respective directory and compile the code using your preferred C++ compiler.

For example, to run an example from the basics directory:

cd basics
g++ example.cpp -o example
./example

Contributing

Contributions are welcome! If you have any improvements or new concepts to add, please fork the repository and create a pull request. Follow these steps:

  • Fork the repository
  • Create a new branch (git checkout -b feature/your-feature)
  • Commit your changes (git commit -m 'Add some feature')
  • Push to the branch (git push origin feature/your-feature)
  • Open a pull request
  • Please ensure your code follows the repository's coding standards and includes appropriate comments and documentation.

Contact

For any questions or suggestions, feel free to open an issue in the repository or contact me directly.

About

This repository covers a wide range of topics including Object-Oriented Programming (OOP), the Standard Template Library (STL), and smart pointers.. It contains practical examples, and best practices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages