An open API service indexing awesome lists of open source software.

https://github.com/ana-chenoweth/singly-linked-list

The ListaSimple class implements a singly linked list for storing elements of type T
https://github.com/ana-chenoweth/singly-linked-list

c dsa list singly-linked-list singlylinkedlist

Last synced: 26 days ago
JSON representation

The ListaSimple class implements a singly linked list for storing elements of type T

Awesome Lists containing this project

README

          

# Singly Linked List in C++ (Academic Project)

This academic project demonstrates the implementation of a **singly linked list** using object-oriented programming in C++. It includes basic operations like insertion, deletion, traversal, and search, providing hands-on experience with dynamic memory and pointer-based data structures.

Example Use
Example Use

## Description

The singly linked list is a dynamic data structure made up of nodes, where each node contains:

- A value
- A pointer to the next node

This project implements a menu-driven interface allowing users to:

- Insert elements at the beginning or end
- Delete elements from the beginning or end
- Search for a specific element
- Display all elements

Robust exception handling via custom exceptions (ListaVacia, FueraDeRango) is employed to handle errors.

## Compile and Run

```bash
clang++ -std=c++17 -Wall -o list main.cpp
./test
```

For Windows, yo can run the executable `singly_linked_list.exe`.

## Sample

## Author

- Ana Laura Chenoweth Galaz
- Georgina Salcido Valenzuela

## License

This project is shared for academic and learning purposes under the MIT License.