# angellandin/programacion-orientada-a-objetos-gpo-301 architecture

> Architecture diagram of the GitHub repository angellandin/programacion-orientada-a-objetos-gpo-301, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/angellandin/programacion-orientada-a-objetos-gpo-301
- Repository: https://github.com/angellandin/programacion-orientada-a-objetos-gpo-301

## Overview

##### Project type and purpose
- This repository is an educational resource for “Programación Orientada a Objetos” in C++ (and some C), focused on two topics:
– Herencia (inheritance) – lessons, exercises, and sample solutions in HerenciaCpp-main
– Sobrecarga de operadores (operator overloading) – samples and buggy variants under “Sobrecarga Angel Landin” and a parallel C version in SobrecargaC-main
- It is not a live web app or microservice suite but a content‐plus‐code bundle intended for students to read Markdown, inspect code (.cpp/.exe), compile, and experiment.

##### File structure
- Top-level folders:
– HerenciaCpp-main
- Contenido/ : Markdown instructives for private, public, protected, multiple, virtual inheritance
- ejercicios/ : exercise descriptions in Markdown for numbered inheritance scenarios
- Ejercicios Angel Landin A00574700/ : student’s .cpp solutions, text logs, compiled .exe files
- README.md, LICENSE
– Sobrecarga Angel Landin
- Codigos Originales de Bug/ : buggy .cpp examples
- Pruebas/ : expected-output .txt files
- standalone .cpp and .exe for each operator overload example
– SobrecargaC-main
- docs/ : operator overloading content in Markdown
- ejemplos/ : working C++ examples demonstrating overloads
- README.md, LICENSE
- No build scripts or deployment manifests; relies on external C++ compiler/toolchain

##### Detailed capture of essential elements
- Top-level directory as a sub-system
- Dependencies: exercises reference instructive files, solutions import headers from examples
- Test data flow: .txt files feeding into .exe

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Developer Tools
    IDE["IDE / Editor"]:::tool
    Compiler["C++ Compiler (GCC/Clang/VS)"]:::tool

    %% Student Workstation
    Workstation["Student Workstation"]:::external
    Workstation -->|clone repo| IDE
    IDE -->|edit/read| Compiler

    %% HerenciaCpp-main Subsystem
    subgraph "HerenciaCpp-main" 
        HerenciaContent["Contenido/ (Markdown)"]:::content
        ExerciseDescriptionsHerencia["ejercicios/ (Markdown)"]:::content
        StudentSolutionsHerencia["Ejercicios Angel Landin A00574700/ (Code & .exe)"]:::code
        LicenseHerencia["LICENSE"]:::meta
        ReadmeHerencia["README.md"]:::meta
    end

    %% Sobrecarga Angel Landin Subsystem
    subgraph "Sobrecarga Angel Landin"
        OverloadCPPContent["Standalone .cpp/.exe (Code)"]:::code
        BuggyExamplesCPP["Codigos Originales de Bug/"]:::code
        TestCasesCPP["Pruebas/ (.txt)"]:::content
        ReadmeOverloadCPP["README.md"]:::meta
    end

    %% SobrecargaC-main Subsystem
    subgraph "SobrecargaC-main"
        ContentC["docs/contenido.md"]:::content
        ExerciseC["docs/ejercicios_sobrecarga_operadores.md"]:::content
        ExamplesC["ejemplos/ (C/C++ Code)"]:::code
        LicenseC["LICENSE"]:::meta
        ReadmeC["README.md"]:::meta
    end

    %% Workflow connections
    IDE -->|opens| HerenciaContent
    IDE -->|opens| ExerciseDescriptionsHerencia
    IDE -->|opens| StudentSolutionsHerencia

    IDE -->|opens| OverloadCPPContent
    IDE -->|opens| BuggyExamplesCPP
    IDE -->|opens| TestCasesCPP

    IDE -->|opens| ContentC
    IDE -->|opens| ExerciseC
    IDE -->|opens| ExamplesC

    %% Compilation and Execution
    StudentSolutionsHerencia -->|compile| Compiler
    OverloadCPPContent -->|compile| Compiler
    ExamplesC -->|compile| Compiler

    Compiler -->|produces .exe| RunCPP["Run .exe"]:::code
    RunCPP -->|use .txt| TestCasesCPP
    TestCasesCPP -->|feedback| IDE

    Compiler -->|produces .exe| RunHerencia["Run .exe"]:::code
    RunHerencia -->|exercise scenarios| ExerciseDescriptionsHerencia
    ExerciseDescriptionsHerencia -->|feedback| IDE

    Compiler -->|produces .exe| RunC["Run .exe"]:::code
    RunC -->|use .txt| TestCasesCPP
    TestCasesCPP -->|feedback| IDE

    %% Click Events
    click HerenciaContent "https://github.com/angellandin/programacion-orientada-a-objetos-gpo-301/tree/main/HerenciaCpp-main/Contenido"
    click ExerciseDescriptionsHerencia "https://github.com/angellandin/programacion-orientada-a-objetos-gpo-301/tree/main/HerenciaCpp-main/ejercicios"
    click StudentSolutionsHerencia "https://github.com/angellandin/programacion-orientada-a-objetos-gpo-301/tree/main/HerenciaCpp-main/Ejercicios Angel Landin A00574700"
    click OverloadCPPContent "https://github.com/angellandin/programacion-orientada-a-objetos-gpo-301/tree/main/Sobrecarga Angel Landin"
    click BuggyExamplesCPP "https://github.com/angellandin/programacion-orientada-a-objetos-gpo-301/tree/main/Sobrecarga Angel Landin/Codigos Originales de Bug"
    click TestCasesCPP "https://github.com/angellandin/programacion-orientada-a-objetos-gpo-301/tree/main/Sobrecarga Angel Landin/Pruebas"
    click ContentC "https://github.com/angellandin/programacion-orientada-a-objetos-gpo-301/blob/main/SobrecargaC-main/docs/contenido.md"
    click ExerciseC "https://github.com/angellandin/programacion-orientada-a-objetos-gpo-301/blob/main/SobrecargaC-main/docs/ejercicios_sobrecarga_operadores.md"
    click ExamplesC "https://github.com/angellandin/programacion-orientada-a-objetos-gpo-301/tree/main/SobrecargaC-main/ejemplos"
    click LicenseHerencia "https://github.com/angellandin/programacion-orientada-a-objetos-gpo-301/tree/main/HerenciaCpp-main/LICENSE"
    click ReadmeHerencia "https://github.com/angellandin/programacion-orientada-a-objetos-gpo-301/blob/main/HerenciaCpp-main/README.md"
    click LicenseC "https://github.com/angellandin/programacion-orientada-a-objetos-gpo-301/tree/main/SobrecargaC-main/LICENSE"
    click ReadmeC "https://github.com/angellandin/programacion-orientada-a-objetos-gpo-301/blob/main/SobrecargaC-main/README.md"

    %% Styles
    classDef content fill:#D0E8FF,stroke:#4A90E2,color:#000
    classDef code fill:#DFF2BF,stroke:#4F8A10,color:#000
    classDef tool fill:#FFE3B5,stroke:#B07B00,color:#000
    classDef meta fill:#E0E0E0,stroke:#888,color:#000
    classDef external fill:#F0F0F0,stroke:#999,color:#000
```
