Welcome to the first upload of the "Coding Time Capsule", a nostalgic collection of my own code from the 90s and early 2000s. SAV is a DOS-based Pascal program that calculates the shortest path between cities using the Floyd-Warshall algorithm. This program, developed back in 2003, showcases the power of early programming languages like Pascal in solving complex problems. The code is beautifully written and organized, demonstrating the elegance and simplicity of the past while still being fully functional and effective. Please note that the program is written in Spanish.
- DOS-based user interface
- Floyd-Warshall shortest path algorithm implementation
- Ability to add cities and distances
- Calculates the shortest path between two cities
- Displays all contiguous cities to a given city
- Elegant and well-structured Pascal code
To run the SAV program, you will need a Pascal compiler like Free Pascal or Turbo Pascal, and DOSBox for a DOS-like environment.
- Clone the repository or download the source code.
- Compile the source code with a Pascal compiler.
- Run the compiled executable using DOSBox or a similar DOS emulator.
The program provides a simple text-based menu with the following options:
- Carga de ciudades y distancias directas (Load cities and direct distances)
- Listado de ciudades contiguas (List of contiguous cities)
- Distancia y camino entre 2 ciudades (Distance and path between 2 cities)
- Recorrido entre ciudades (Path between cities)
- Salir (Exit)
Use the menu to navigate through the program and perform the desired actions.
- A special thank you to the creators of Pascal, especially Anders Hejlsberg, the creator of Turbo Borland Pascal, as well as the Free Pascal Compiler and DOSBox for providing the tools to run and experience this nostalgic program.