Giter Club home page Giter Club logo

nagipragalathan / first-project Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 15 KB

This repository contains a simple train ticket reservation system implemented in C. It includes functionalities for booking, viewing, and managing train tickets. The project demonstrates basic file handling, data structures, and user input/output operations in C.

Home Page: https://github.com/NagiPragalathan/first-project

C 100.00%
c cprogramming datastructures filehandling learningtocode programming projectshowcase softwaredevelopment techinnovation techskills

first-project's Introduction

Train Ticket Reservation System

This repository contains a simple train ticket reservation system implemented in C. It includes functionalities for booking, viewing, and managing train tickets. The project demonstrates basic file handling, data structures, and user input/output operations in C.

Features

  • Book Ticket: Allows users to book train tickets.
  • View Ticket: Displays booked tickets.
  • Cancel Ticket: Functionality to cancel a booked ticket.
  • View Train Details: Shows details of available trains.

Technologies Used

  • Programming Language: C

Files

  • main.c: Entry point of the application.
  • Train_Ticket_Registration.c: Contains functions for booking, viewing, and managing tickets.
  • Train_Ticket_Registration_hider.h: Header file with function prototypes and necessary includes.

Installation and Usage

Prerequisites

  • C compiler (e.g., GCC)

Steps

  1. Clone the repository:

    bash

    Copy code

    git clone https://github.com/NagiPragalathan/first-project.git cd first-project

  2. Compile the program:

    bash

    Copy code

    gcc main.c Train_Ticket_Registration.c -o TrainTicketReservation

  3. Run the executable:

    bash

    Copy code

    ./TrainTicketReservation

How to Use

  1. Booking a Ticket:
    • Follow the prompts to enter train and passenger details.
  2. Viewing Tickets:
    • Select the option to view booked tickets.
  3. Cancelling a Ticket:
    • Choose the cancel option and enter the ticket details.
  4. Viewing Train Details:
    • Select the option to display train information.

Contributors

License

This project is licensed under the MIT License. See the LICENSE file for details.

Repository Link

first-project's People

Contributors

nagipragalathan avatar naveeng2402 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.