Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project 2 - Introduction to Algorithms and Data Structures (2022/2023)

Submission Date: April 14th, 2023

Overview

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.

Features

  • 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

Compilation

gcc -O3 -Wall -Wextra -Werror -ansi -pedantic -o proj2 *.c

Notes

  • 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

Project Structure

  • project2.c - main implementation
  • enunciado.md, guidelines.md, informacoes.md, debugging.md - project instructions, guidelines and relevant information like debugging

About

Further development of my first project in IAED, with additional functionalities.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages