This project extends the public transportation management system developed in Project 1, adding new commands to remove lines, delete stops, and clear all data. Users interact with the system via a command-line interface.
- Add and list bus lines and stops
- Add connections between stops with cost and duration
- Remove lines and stops
- Clear all data
- List intersections between lines
- Supports circular routes
- Dynamic memory management with no fixed limits
gcc -O3 -Wall -Wextra -Werror -ansi -pedantic -o proj2 *.c
- Uses only standard C libraries: stdio.h, stdlib.h, string.h, ctype.h
- No global variables allowed; memory is freed before termination.
- Incremental development and testing recommended
- project2.c - main implementation
- enunciado.md, guidelines.md, informacoes.md, debugging.md - project instructions, guidelines and relevant information like debugging