Skip to content

Latest commit

 

History

157 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advanced C++ Documentation

Welcome to the Advanced C++ Documentation repository. This project serves as a comprehensive guide to modern C++ features (C++11 through C++23), best practices, and advanced programming concepts.

📂 Project Structure

The repository is organized into logical directories to help you find information quickly:

  • core/: Fundamental C++ concepts, memory management rules, RAII, and pointers.
  • features/: Deep dives into features introduced in C++14, C++17, C++20, and C++23.
  • examples/: Ready-to-run C++ code snippets demonstrating specific techniques like multithreading, smart pointers, and design patterns.
  • C++ Philosophy/: High-level guides, mastering roadmaps, and conceptual explanations.
  • tips/: Performance optimization tricks, loops, string handling, and memory safety advice.
  • Tools/: Practical guides for modern C++ development tools, including debuggers, testing frameworks, static analyzers, sanitizers, profilers, documentation generators, build systems, and package managers. This section focuses on modern, industry-standard tools with practical workflows, best practices, and references to their official documentation.

🚀 Getting Started

Prerequisites

  • A modern C++ compiler (GCC 10+, Clang 10+, or MSVC 2019+ recommended for full feature support).
  • Basic knowledge of C++ syntax and object-oriented programming.

Running Examples

Most examples are self-contained and can be compiled using a single command:

# Example: Compiling the multithreading demo
g++ -pthread examples/multithreading.cpp -o multithreading
./multithreading

🛠 Contribution Guidelines

Contributions are welcome! If you'd like to add new documentation or examples:

  1. Follow the Style Guide: Adhere to the established directory structure and naming conventions.
  2. Document Your Code: Ensure every file has a descriptive header and all functions are commented.
  3. Use Modern C++: Prefer modern alternatives (e.g., std::unique_ptr over raw new/delete, Note: Don't use shared_ptr blindly).
  4. Submit a PR: Create a new branch and submit a pull request with a clear description of your changes.

📚 Key Resources


Happy learning! 😄💙

About

In this repository, i will share you advance features and usefull features in c++ which are mostly used in industry

Resources

Stars

8 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages