Skip to content

Instantly share code, notes, and snippets.

View MangaD's full-sized avatar
📚
studying

David Gonçalves MangaD

📚
studying
View GitHub Profile
@MangaD
MangaD / cpp_principles.md
Created March 14, 2025 20:30
Comprehensive Guide to C++ Principles

Comprehensive Guide to C++ Principles

CC0

Disclaimer: ChatGPT generated document.

C++ is built on several core principles that define its design philosophy, efficiency, and flexibility. These principles guide language development and best practices.


@MangaD
MangaD / cpp_rule_zero_three_five_six.md
Created March 14, 2025 18:54
C++: Rule of 0, 3, 5, and 6

C++: Rule of 0, 3, 5, and 6

CC0

Disclaimer: Grok generated document.

Introduction: Special Member Functions in C++

In C++, classes have special member functions that the compiler can automatically generate or that you must explicitly define to manage object lifetime and behavior:

  • Constructor: Initializes an object.
  • Destructor: Cleans up an object.
@MangaD
MangaD / cpp_friend.md
Created March 14, 2025 18:49
Comprehensive Guide to the `friend` Keyword in C++

Comprehensive Guide to the friend Keyword in C++

CC0

Disclaimer: ChatGPT generated document.

1. Introduction

The friend keyword in C++ allows one class, function, or operator to access private and protected members of another class. This provides controlled access for tight coupling between related classes or functions, enabling better encapsulation while maintaining controlled access.

@MangaD
MangaD / cpp_reflection.md
Created March 14, 2025 18:43
Reflection in C++

Comprehensive Guide to Reflection

CC0

Disclaimer: ChatGPT generated document.

1. Introduction

What Is Reflection?

Reflection is the ability of a program to inspect, analyze, and manipulate its own structure (types, objects, methods, properties, etc.) at runtime or compile-time.

@MangaD
MangaD / cpp_history.md
Last active March 14, 2025 08:30
History of C++, Related Organizations, and Evolution

History of C++, Related Organizations, and Evolution

CC0

Disclaimer: ChatGPT generated document.

1. Introduction

C++ is a general-purpose, object-oriented programming language that evolved from C. It introduced classes, templates, exception handling, and generic programming, making it one of the most widely used languages today.

@MangaD
MangaD / cpp_boost.md
Created March 14, 2025 08:22
The C++ Boost Library

What Is the Boost Library?

CC0

Disclaimer: Grok generated document.

Boost is a collection of free, peer-reviewed, portable C++ libraries that extend the capabilities of the C++ Standard Library. Founded in 1998 by members of the C++ Standards Committee, Boost has grown into one of the most influential third-party libraries in the C++ ecosystem, with over 170 individual libraries as of its latest release (Boost 1.87.0, December 2024). Its mission is to provide high-quality, reusable components that work seamlessly with the STL, often serving as a proving ground for features later standardized in C++.

Key Characteristics

  • Open Source: Licensed under the Boost Software License, a permissive license allowing use in both open-source and proprietary projects.
@MangaD
MangaD / cpp_simd.md
Created March 14, 2025 07:59
Comprehensive Guide to SIMD in C++

Comprehensive Guide to SIMD in C++

CC0

Disclaimer: ChatGPT generated document.

1. Introduction to SIMD

What is SIMD?

@MangaD
MangaD / agile_methodologies.md
Created March 14, 2025 05:47
Agile Methodologies

Agile Methodologies

CC0

Disclaimer: Grok generated document.

Providing a truly comprehensive and thorough explanation of every Agile methodology—covering every detail, comparison, and use case—is a monumental task that could span an entire book. However, I’ll give you a detailed, actionable overview of the most prominent Agile methodologies, including their principles, processes, strengths, weaknesses, comparisons, and guidance on when to use each. This will cover the key players in the Agile ecosystem as of March 13, 2025, based on my continuously updated knowledge. I’ll focus on practical insights rather than exhaustive minutiae, ensuring you get a clear picture without overwhelming you.


@MangaD
MangaD / cpp_execution_policies.md
Created March 13, 2025 11:35
Comprehensive Explanation of C++17 Execution Policies

Comprehensive Explanation of C++17 Execution Policies

CC0

Disclaimer: ChatGPT generated document.

C++17 introduced execution policies in the <execution> header, enabling parallel and vectorized execution for certain algorithms in the Standard Template Library (STL). This allows developers to speed up computations by leveraging multiple CPU cores and SIMD (Single Instruction, Multiple Data) instructions.


@MangaD
MangaD / cpp_algorithms_functors.md
Last active March 13, 2025 11:18
Comprehensive List of STL Algorithms & Functors

🔹 Comprehensive List of STL Algorithms

CC0

Disclaimer: Grok generated document.

The STL contains a wide range of algorithms, mostly defined in the <algorithm> header, with additional ones in <numeric> and other headers. Below is a comprehensive list of the algorithms available in the C++ STL as of the latest standards (up to C++20, with some C++23 additions where applicable). I'll categorize them for clarity, based on their primary functionality: