Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ana-chenoweth/singly-linked-list

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.