Skip to content

vishwajeet7200/Hotel-Management-System

 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%