RISHI2303 / Hotel-Management-System

A simple hotel management system in C.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hotel-Management-System

About

A simple hotel management system in C.

Description

This system performs the following operations:
   • Loads Hotels and Reservations from a .csv file.
   • Saves Hotels and Reservations to this file.
   • Adds a Hotel.
   • Searches and Displays a Hotel by id.
        - Linear search.
        - Binary search.
        - Interpolation search.
   • Displays Reservations by surname search.

Implementation in two differect ways (data structures):
   • Arrays
   • AVL trees

data.csv is an input file sample.

How to build and run

• Arrays:
   gcc -g -Wall -Wextra -o main main.c functions.c
   ./main [filename].csv

• AVL trees
   gcc -g -Wall -Wextra -o main main.c avl.c
   ./main [filename].csv

About

A simple hotel management system in C.


Languages

Language:C 100.0%