clubgamma / Ticket-Booking

Participate in Club Gamma Hacktoberfest by contributing to any Club Gamma Project
https://clubgamma.vercel.app/
1 stars 9 forks source link
c hacktoberfest hacktoberfest2024 menu-driven-program ticket-booking-system

Ticket Booking System

A simple ticket booking system implemented in C that allows users to add and display bookings. The system saves the booking details to a binary file for persistent storage.

Table of Contents

Features

Requirements

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/ticket-booking-system.git
    cd ticket-booking-system
  2. Compile the program:

    gcc -o booking booking.c

Usage

  1. Run the compiled program:

    ./booking
  2. Follow the on-screen menu to add bookings or display existing ones.

Usage with Docker

  1. Build the Docker image:

    docker build -t ticket-booking-system .
  2. Run the Docker container:

    docker run -it ticket-booking-system

Code Structure