# etreserbe/programacionorientadaaobjetos_2025c architecture

> Architecture diagram of the GitHub repository etreserbe/programacionorientadaaobjetos_2025c, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-05-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/etreserbe/programacionorientadaaobjetos_2025c
- Repository: https://github.com/etreserbe/programacionorientadaaobjetos_2025c

## Overview

1. **Repository purpose**
   - This is a **teaching / exercise repository** for an Object-Oriented Programming course, not a single product application.
   - The README and file names indicate a collection of **independent C++ examples** covering OOP, data structures, memory, templates, and language features.

2. **Solution and build boundary**
   - The top-level architecture is a **Visual Studio C++ solution** (`ProgramacionOrientadaAObjetos4to.sln`) with one project (`ProgramacionOrientadaAObjetos4to.vcxproj`).
   - The project appears to compile many `.cpp/.h` pairs into a single codebase, but the examples are likely **loosely coupled** rather than one integrated runtime.

3. **Entry-point layer**
   - There are multiple main-style source files: `Main.cpp`, `OtherMain.cpp`, and `CosasViejasDelMain.cpp`.
   - This suggests the repo has **alternate demos or old exercises** rather than one canonical executable flow.
   - For an architecture diagram, treat these as **drivers / test harnesses** that invoke the example classes.

4. **Object-oriented model examples**
   - A large portion of the repo is dedicated to **class design** examples: `Animal`, `Gato`, `Perro`, `Pollo`, `Humano`, `Figura`, `Usuario`, `UsuarioAdmin`, `UsuarioAlumno`, `UsuarioProfesor`.
   - These files likely demonstrate **inheritance, polymorphism, encapsulation, and virtual methods**, with base classes such as `Animal`, `Figura`, and `Usuario` anchoring subtype hierarchies.

5. **Special language-feature examples**
   - Several modules are clearly isolated demonstrations of C++ concepts:
     - `ClaseConstructoresYDestructores`
     - `ClaseVirtualPura`
     - `ExplicacionStatic`
     - `ExplicacionTemplates`
     - `ExplicacionIfndef`
     - `ExplicacionDirectivasDePreprocesador`
     - `ParametrosPorReferenciaComoSalidaDeFuncion`
   - These are best viewed as **single-topic learning units** with their own headers and implementations.

6. **Data structure subsystem**
   - The repo includes a substantial set of custom container implementations:
     - `DynamicArray`
     - `LinkedList`
     - `DoubleLinkedList`
     - `SentinelLinkedList`
     - `Stack`
     - `StackComposicion`
     - `Queue`
     - `BinarySearchTree`
     - `HashTableChaining`
   - This is a distinct subsystem focused on **manual data structure implementation**, likely to show pointer management, traversal, insertion/removal, and algorithmic tradeoffs.

7. **Memory and pointer management exercises**
   - `EjerciciosMemoriaDinamica`, `DynamicArray`, and several container classes point to a strong emphasis on **dynamic allocation, ownership, and cleanup**.
   - `ClaseConstructoresYDestructores` and the linked structures likely demonstrate the lifecycle boundary between **allocation, object lifetime, and destructor responsibility**.

8. **Composition and reuse**
   - `StackComposicion` stands out as an example of **composition over inheritance**.
   - This indicates the repo includes contrasts between implementing behavior by **wrapping other classes** versus inheriting from them, useful for design-pattern discussion.

9. **Small domain models / utilities**
   - `Vector2D`, `WebPacket`, `UserLoginData`, and the user/animal/figure classes are likely supporting models used in examples.
   - These are not infrastructure services; they are **data objects and helper types** used to demonstrate class relationships and method behavior.

10. **File-related examples**
   - `ArchivosEjemplo` and `ArchivoEjemplo2` form a small file-handling area.
   - They likely show **basic I/O workflows** separate from the in-memory examples, creating a boundary between runtime data structures and persistence/file operations.

11. **Code organization pattern**
   - Most modules follow the same pattern: a `.h` declaration file and a `.cpp` implementation file.
   - This indicates a classic C++ architecture with **explicit interface/implementation separation**, which is important for the diagram: each topic is a module, not a service.

12. **Overall runtime architecture**
   - There is no evidence of networking, databases, web frameworks, or external services.
   - The likely runtime is simply: **selected main file → topic/demo classes → console output and/or file I/O**.
   - The key architectural boundary is between the **driver code** and the **educational modules** it exercises.

13. **How to diagram it accurately**
   - Show the repo as a **single Visual Studio solution** containing multiple independent learning modules.
   - Group modules into:
     - OOP inheritance/polymorphism examples
     - Data structure implementations
     - Language-feature demonstrations
     - File I/O examples
     - Utility/domain classes
   - Avoid drawing a monolithic application flow; the codebase is better represented as a **catalog of examples** with shared C++ conventions rather than one integrated system.

Main entry points: [`ProgramacionOrientadaAObjetos4to/Main.cpp`](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Main.cpp) (Main), [`ProgramacionOrientadaAObjetos4to/ProgramacionOrientadaAObjetos4to.vcxproj`](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ProgramacionOrientadaAObjetos4to.vcxproj) (Project), [`ProgramacionOrientadaAObjetos4to/Animal.h`](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Animal.h) (Animal), [`ProgramacionOrientadaAObjetos4to/Usuario.h`](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Usuario.h) (Usuario)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_build["Build"]
  node_solution["Solution"]
  node_project["Project"]
end

subgraph group_drivers["Drivers"]
  node_main["Main<br/>driver<br/>[Main.cpp]"]
  node_othermain["Other Main<br/>driver<br/>[OtherMain.cpp]"]
  node_oldmain["Old Main<br/>legacy driver"]
end

subgraph group_oop["OOP Models"]
  node_animal["Animal<br/>base class<br/>[Animal.h]"]
  node_gato["Gato<br/>derived class<br/>[Gato.h]"]
  node_perro["Perro<br/>derived class<br/>[Perro.h]"]
  node_pollo["Pollo<br/>derived class<br/>[Pollo.h]"]
  node_figura["Figura<br/>base class<br/>[Figura.h]"]
  node_usuario["Usuario<br/>base class<br/>[Usuario.h]"]
  node_admin["Admin<br/>derived class<br/>[UsuarioAdmin.h]"]
  node_alumno["Alumno<br/>derived class<br/>[UsuarioAlumno.h]"]
  node_profesor["Profesor<br/>derived class<br/>[UsuarioProfesor.h]"]
  node_humano["Humano<br/>class<br/>[Humano.h]"]
end

subgraph group_structures["Data Structures"]
  node_dynarray["DynamicArray<br/>container<br/>[DynamicArray.h]"]
  node_lists["Lists<br/>list family<br/>[LinkedList.h]"]
  node_stackqueue["Stack/Queue<br/>containers<br/>[Stack.h]"]
  node_bst["BST<br/>tree<br/>[BinarySearchTree.h]"]
  node_hashtable["Hash Table<br/>hash map"]
end

subgraph group_features["Language Features"]
  node_constructors["Ctor/Dtor<br/>lesson"]
  node_virtualpure["Pure Virtual<br/>lesson<br/>[ClaseVirtualPura.h]"]
  node_templates["Templates<br/>lesson"]
  node_staticdemo["Static<br/>lesson"]
  node_ifndef["Ifndef<br/>lesson"]
  node_preproc["Preprocessor<br/>lesson"]
  node_refout["Ref Output<br/>lesson"]
end

subgraph group_io["File I/O"]
  node_archivos["Archivos<br/>file I/O<br/>[ArchivosEjemplo.h]"]
  node_archivo2["Archivo 2<br/>file I/O<br/>[ArchivoEjemplo2.h]"]
end

subgraph group_models["Models"]
  node_vector2d["Vector2D<br/>utility type<br/>[Vector2D.h]"]
  node_webpacket["WebPacket<br/>data model<br/>[WebPacket.h]"]
  node_logindata["Login Data<br/>data model<br/>[UserLoginData.h]"]
  node_tarea["Tarea<br/>exercise model<br/>[TareaEjemplo.h]"]
end

node_solution -->|"contains"| node_project
node_project -->|"builds"| node_main
node_project -->|"builds"| node_othermain
node_project -->|"builds"| node_oldmain
node_main -->|"runs"| node_animal
node_main -->|"runs"| node_usuario
node_main -->|"runs"| node_dynarray
node_othermain -->|"runs"| node_constructors
node_othermain -->|"runs"| node_templates
node_oldmain -->|"runs"| node_archivos
node_animal -->|"base of"| node_gato
node_animal -->|"base of"| node_perro
node_animal -->|"base of"| node_pollo
node_figura -->|"supports"| node_humano
node_usuario -->|"base of"| node_admin
node_usuario -->|"base of"| node_alumno
node_usuario -->|"base of"| node_profesor
node_dynarray -->|"neighbors"| node_lists
node_lists -->|"enables"| node_stackqueue
node_stackqueue -->|"contrasts"| node_bst
node_stackqueue -->|"contrasts"| node_hashtable
node_constructors -->|"related"| node_virtualpure
node_staticdemo -->|"related"| node_preproc
node_ifndef -->|"related"| node_preproc
node_refout -->|"related"| node_templates
node_archivos -->|"pairs with"| node_archivo2
node_vector2d -->|"supports"| node_humano
node_webpacket -->|"supports"| node_logindata
node_tarea -->|"used by"| node_main

click node_solution "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to.sln"
click node_project "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ProgramacionOrientadaAObjetos4to.vcxproj"
click node_main "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Main.cpp"
click node_othermain "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/OtherMain.cpp"
click node_oldmain "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/CosasViejasDelMain.cpp"
click node_animal "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Animal.h"
click node_gato "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Gato.h"
click node_perro "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Perro.h"
click node_pollo "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Pollo.h"
click node_figura "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Figura.h"
click node_usuario "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Usuario.h"
click node_admin "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/UsuarioAdmin.h"
click node_alumno "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/UsuarioAlumno.h"
click node_profesor "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/UsuarioProfesor.h"
click node_humano "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Humano.h"
click node_dynarray "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/DynamicArray.h"
click node_lists "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/LinkedList.h"
click node_stackqueue "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Stack.h"
click node_bst "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/BinarySearchTree.h"
click node_hashtable "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/HashTableChaining.h"
click node_constructors "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ClaseConstructoresYDestructores.h"
click node_virtualpure "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ClaseVirtualPura.h"
click node_templates "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ExplicacionTemplates.h"
click node_staticdemo "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ExplicacionStatic.h"
click node_ifndef "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ExplicacionIfndef.h"
click node_preproc "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ExplicacionDirectivasDePreprocesador.h"
click node_refout "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ParametrosPorReferenciaComoSalidaDeFuncion.h"
click node_archivos "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ArchivosEjemplo.h"
click node_archivo2 "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ArchivoEjemplo2.h"
click node_vector2d "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Vector2D.h"
click node_webpacket "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/WebPacket.h"
click node_logindata "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/UserLoginData.h"
click node_tarea "https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/TareaEjemplo.h"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_solution,node_project,node_vector2d,node_webpacket,node_logindata,node_tarea toneBlue
class node_main,node_othermain,node_oldmain toneAmber
class node_animal,node_gato,node_perro,node_pollo,node_figura,node_usuario,node_admin,node_alumno,node_profesor,node_humano toneMint
class node_dynarray,node_lists,node_stackqueue,node_bst,node_hashtable toneRose
class node_constructors,node_virtualpure,node_templates,node_staticdemo,node_ifndef,node_preproc,node_refout toneIndigo
class node_archivos,node_archivo2 toneTeal
```

## Components

### Build

Visual Studio solution and project boundary

- [Solution](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to.sln): VS solution · Top-level Visual Studio solution that contains the exercises · `ProgramacionOrientadaAObjetos4to.sln`
- [Project](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ProgramacionOrientadaAObjetos4to.vcxproj): C++ project · Single Visual Studio project holding the example modules · `ProgramacionOrientadaAObjetos4to/ProgramacionOrientadaAObjetos4to.vcxproj`

### Drivers

Main-style entry points used to run different demos

- [Main](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Main.cpp): driver · Primary demo entry point · `ProgramacionOrientadaAObjetos4to/Main.cpp`
- [Other Main](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/OtherMain.cpp): driver · Alternate demo entry point · `ProgramacionOrientadaAObjetos4to/OtherMain.cpp`
- [Old Main](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/CosasViejasDelMain.cpp): legacy driver · Older or archived demo harness · `ProgramacionOrientadaAObjetos4to/CosasViejasDelMain.cpp`

### OOP Models

Inheritance and polymorphism examples

- [Animal](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Animal.h): base class · Shared animal hierarchy base · `ProgramacionOrientadaAObjetos4to/Animal.h`
- [Gato](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Gato.h): derived class · Cat example derived from the animal base · `ProgramacionOrientadaAObjetos4to/Gato.h`
- [Perro](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Perro.h): derived class · Dog example derived from the animal base · `ProgramacionOrientadaAObjetos4to/Perro.h`
- [Pollo](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Pollo.h): derived class · Chicken example derived from the animal base · `ProgramacionOrientadaAObjetos4to/Pollo.h`
- [Figura](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Figura.h): base class · Shared figure hierarchy base · `ProgramacionOrientadaAObjetos4to/Figura.h`
- [Usuario](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Usuario.h): base class · Shared user hierarchy base · `ProgramacionOrientadaAObjetos4to/Usuario.h`
- [Admin](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/UsuarioAdmin.h): derived class · Administrator specialization · `ProgramacionOrientadaAObjetos4to/UsuarioAdmin.h`
- [Alumno](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/UsuarioAlumno.h): derived class · Student specialization · `ProgramacionOrientadaAObjetos4to/UsuarioAlumno.h`
- [Profesor](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/UsuarioProfesor.h): derived class · Teacher specialization · `ProgramacionOrientadaAObjetos4to/UsuarioProfesor.h`
- [Humano](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Humano.h): class · Support class used in OOP examples · `ProgramacionOrientadaAObjetos4to/Humano.h`

### Data Structures

Manual container implementations and ownership exercises

- [DynamicArray](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/DynamicArray.h): container · Resizable array and memory management exercise · `ProgramacionOrientadaAObjetos4to/DynamicArray.h`
- [Lists](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/LinkedList.h): list family · Linked list variants for pointer and traversal exercises · `ProgramacionOrientadaAObjetos4to/LinkedList.h`
- [Stack/Queue](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Stack.h): containers · Linear container examples including stack composition · `ProgramacionOrientadaAObjetos4to/Stack.h`
- [BST](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/BinarySearchTree.h): tree · Binary search tree implementation · `ProgramacionOrientadaAObjetos4to/BinarySearchTree.h`
- [Hash Table](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/HashTableChaining.h): hash map · Chaining-based hash table implementation · `ProgramacionOrientadaAObjetos4to/HashTableChaining.h`

### Language Features

Single-topic C++ learning modules

- [Ctor/Dtor](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ClaseConstructoresYDestructores.h): lesson · Constructor and destructor lifecycle demo · `ProgramacionOrientadaAObjetos4to/ClaseConstructoresYDestructores.h`
- [Pure Virtual](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ClaseVirtualPura.h): lesson · Abstract class and pure virtual method demo · `ProgramacionOrientadaAObjetos4to/ClaseVirtualPura.h`
- [Templates](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ExplicacionTemplates.h): lesson · Template usage example · `ProgramacionOrientadaAObjetos4to/ExplicacionTemplates.h`
- [Static](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ExplicacionStatic.h): lesson · Static members and behavior demo · `ProgramacionOrientadaAObjetos4to/ExplicacionStatic.h`
- [Ifndef](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ExplicacionIfndef.h): lesson · Header guard explanation · `ProgramacionOrientadaAObjetos4to/ExplicacionIfndef.h`
- [Preprocessor](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ExplicacionDirectivasDePreprocesador.h): lesson · Preprocessor directive examples · `ProgramacionOrientadaAObjetos4to/ExplicacionDirectivasDePreprocesador.h`
- [Ref Output](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ParametrosPorReferenciaComoSalidaDeFuncion.h): lesson · Pass-by-reference output parameter demo · `ProgramacionOrientadaAObjetos4to/ParametrosPorReferenciaComoSalidaDeFuncion.h`

### File I/O

Examples focused on file handling

- [Archivos](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ArchivosEjemplo.h): file I/O · Basic file handling example · `ProgramacionOrientadaAObjetos4to/ArchivosEjemplo.h`
- [Archivo 2](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/ArchivoEjemplo2.h): file I/O · Second file handling example · `ProgramacionOrientadaAObjetos4to/ArchivoEjemplo2.h`

### Models

Shared utility and domain-style types

- [Vector2D](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/Vector2D.h): utility type · 2D vector helper model · `ProgramacionOrientadaAObjetos4to/Vector2D.h`
- [WebPacket](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/WebPacket.h): data model · Packet-like helper type used in examples · `ProgramacionOrientadaAObjetos4to/WebPacket.h`
- [Login Data](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/UserLoginData.h): data model · User login information helper · `ProgramacionOrientadaAObjetos4to/UserLoginData.h`
- [Tarea](https://github.com/etreserbe/programacionorientadaaobjetos_2025c/blob/main/ProgramacionOrientadaAObjetos4to/TareaEjemplo.h): exercise model · Small example domain class used by demos · `ProgramacionOrientadaAObjetos4to/TareaEjemplo.h`

## Connections

- Solution → Project: contains · Solution packages the single C++ project
- Project → Main: builds · Project compiles the primary driver
- Project → Other Main: builds · Project compiles an alternate driver
- Project → Old Main: builds · Project includes legacy demo code
- Main → Animal: runs · Driver exercises the animal hierarchy
- Main → Usuario: runs · Driver exercises the user hierarchy
- Main → DynamicArray: runs · Driver invokes container exercises
- Other Main → Ctor/Dtor: runs · Alternate driver focuses on language lessons
- Other Main → Templates: runs · Alternate driver can demonstrate templates
- Old Main → Archivos: runs · Legacy harness includes file examples
- Animal → Gato: base of · Cat derives from animal
- Animal → Perro: base of · Dog derives from animal
- Animal → Pollo: base of · Chicken derives from animal
- Figura → Humano: supports · Shared model used in object-oriented examples
- Usuario → Admin: base of · Administrator derives from user
- Usuario → Alumno: base of · Student derives from user
- Usuario → Profesor: base of · Teacher derives from user
- DynamicArray → Lists: neighbors · Related pointer-heavy container exercises
- Lists → Stack/Queue: enables · Linear containers reuse linked structure ideas
- Stack/Queue → BST: contrasts · Different organization from tree-based storage
- Stack/Queue → Hash Table: contrasts · Different organization from hashed storage
- Ctor/Dtor → Pure Virtual: related · Core OOP concept lesson modules
- Static → Preprocessor: related · Language feature and compilation lessons
- Ifndef → Preprocessor: related · Header protection and preprocessor topics
- Ref Output → Templates: related · Language feature demonstrations share style
- Archivos → Archivo 2: pairs with · Two file-handling exercises
- Vector2D → Humano: supports · Utility type appears in examples
- WebPacket → Login Data: supports · Small data types used as example payloads
- Tarea → Main: used by · Exercise model is driven by demo code
