This project is a C-based console application for an online ticket booking system. It supports functionalities such as inserting, displaying, searching, updating, appending, and canceling tickets. Users can register, log in, and manage their bookings easily.
-
User Authentication
- New users can register and create accounts.
- Existing users can log in securely with passwords.
-
Ticket Management
- Insert new ticket reservations.
- Display all ticket details.
- Search tickets by ID.
- Cancel tickets.
- Update ticket details.
- Append new tickets without overwriting existing data.
-
Login or Create Account
- Run the program and select either Login or Create Account.
-
Choose Operations
- Insert a ticket.
- View all ticket details.
- Search for a specific ticket using ID.
- Cancel or update ticket information.
- Append new data without overwriting previous records.
-
Exit
- Safely exit the program when done.
-
C Compiler: Ensure a GCC compiler (e.g., Code::Blocks, Dev-C++, or Visual Studio Code with C extension).
-
Text Editor/IDE: Use any IDE or text editor that supports C programming.
-
Clone the Repository:
git clone <repository-url> cd CSE115-Project--Bus-Ticket-Booking
-
Compile the Program:
gcc main.c -o main
-
Run the Program
main.exe
-
Follow the Menu:
-
Enter 1 to log in if you already have an account.
-
Enter 2 to create a new account if not registered.
-
Enter your name: John
Enter your password: 12345
1. INSERT
2. DISPLAY
3. SEARCH
4. CANCEL
5. UPDATE
6. APPEND
7. EXIT
ID : 1001
Name : John Doe
Origin : Dhaka
Destination : Sylhet
Journey Date : 2024-12-30
Departure Time : 9:00
-
Developer:
- Mohammed Arif Mainuddin
- Rafat Jahan
- Mst.Magferat Khatun
-
Instructor: Tns1 Faculty, CSE115, North South University (NSU)