This repository contains two different implementations of stacks in C: one using a contiguous representation (arrays) and the other using a linked representation (linked lists).
To clone the repository, use the following command:
git clone https://github.com/Adamo08/Stack-implementations.git.git
cd Stack-implementations.gitTo utilize the stack implementations, adhere to the subsequent steps:
- Navigate to the "Piles Representation Contigue" directory:
cd "Les Piles (Stack)/Piles Representation Contigue"
- Compile the program:
gcc -o main main.c HandleStack.c
- Execute the program:
./main
- Access the "Piles Representation Chainee" directory:
cd "Les Piles (Stack)/Piles Representation Chainee"
- Compile the program:
gcc -o main main.c HandleStack.c
- Execute the program:
./main
Ensure that gcc is installed and configured correctly on your machine.
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
Thank you for checking out this repository. Happy coding!