https://github.com/nagipragalathan/first-project
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.
https://github.com/nagipragalathan/first-project
c cprogramming datastructures filehandling learningtocode programming projectshowcase softwaredevelopment techinnovation techskills trainreservationsystem trainticketreservation traintickets
Last synced: about 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/nagipragalathan/first-project
- Owner: NagiPragalathan
- Created: 2021-05-07T10:27:54.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-20T12:31:40.000Z (11 months ago)
- Last Synced: 2025-02-18T04:57:07.519Z (3 months ago)
- Topics: c, cprogramming, datastructures, filehandling, learningtocode, programming, projectshowcase, softwaredevelopment, techinnovation, techskills, trainreservationsystem, trainticketreservation, traintickets
- Language: C
- Homepage: https://github.com/NagiPragalathan/first-project
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
- [Nagi Pragalathan](https://github.com/NagiPragalathan)
- [Naveen G](https://github.com/naveeng2402)## License
This project is licensed under the MIT License. See the LICENSE file for details.
## Repository Link
- [Train Ticket Reservation System](https://github.com/NagiPragalathan/first-project)