Skip to content

Anushreenimi/Hotel-Management-System-C-Programming-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hotel-Management-System-C-Programming-

It is a hotel management system using C programming.

Table of Contents-

  1. Overview
  2. Project Structure
  3. How to run
  4. Output

Overview

The Hotel Management System is a simple, console-based application developed in C. It is designed to handle basic hotel operations such as adding and viewing customer information. This project highlights key C programming concepts such as modular programming with separate source and header files, the use of structures (struct) for organizing customer data, and functions to keep the code clean and reusable. It also features a menu-driven interface, making the system simple to use and easy to expand with additional functionality in the future.

Project Structure

The project is divided into three files to showcase the concept of modular programming in C:

  1. main.c-The entry point of the program. It contains the menu and handles user interaction.
  2. customer.c-Contains the implementation of customer-related functions such as adding and viewing customers.
  3. customer.h-The header file that defines the structure of a customer and declares function prototypes for use across files.

How to run

  1. Open Dev-C++.
  2. Go to File → New → Project → Console Application → C Project.
  3. Add your .c files (main.c and customer.c) to the project:
    • Project → Add to Project → select files
  4. Click Compile & Run (F11 or Ctrl+F10 depending on version).
  5. Your console menu will appear, and you can interact with your program.

Output

About

It is a hotel management system using C programming.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages