Skip to content

Car Rental System designed to manage car rental operations. It allows user operations and administrative tasks.

Notifications You must be signed in to change notification settings

ayush-saklani/car-rental-system

Repository files navigation

Car Rental System

Welcome to the Car Rental System repository! This is a C++ program designed to manage car rental operations. It allows users to rent cars, add new cars to the inventory, and perform administrative tasks such as adding new admins, deleting cars, and resetting available cars.

Features

  • User Portal: Allows users to register as new customers or Existing customers to rent rent cars.
  • Admin Portal: Provides administrators with access to manage cars, view all cars (both rented and available), add new cars, delete cars, and add new admins etc.
  • Terms and Conditions: Displays terms and conditions for using the system.
  • Full-Screen Mode: Provides a fullscreen mode for better user experience.
  • Aesthetic Design: Includes ASCII art for welcome, exit, and company logo, along with loading screens.
  • Date and Time Display: Displays current date and time for reference.
  • Bill Maker: Makes bills with unique bill no for users renting car.

Coding Language Used

Usage

  1. Clone the repository to your local machine.
  2. Compile the main.cpp file using a C++ compiler.
  3. Run the compiled executable main.exe to launch the program.
  4. Follow the on-screen instructions to navigate through the menu and utilize the features.
  5. ID : 1006 [No Password] master key for students portal.
  6. ID : 1 [No Password] master key for admin portal.

File Structure

  • main.cpp : Contains the main source code for the application.
  • welcome.txt : ASCII art for the welcome screen.
  • exit_art.txt : ASCII art for the exit screen.
  • art.txt : ASCII art for the Company name.
  • UserPass.txt : File storing User IDs and Passwords.
  • Customer.txt : File storing Customer Data (ID, Name, Phone number, Address).
  • car rental.txt : File storing Car Data (Licence Plate Number, Brand, Model, etc.).
  • available.txt : File storing Data of available Cars.
  • temp.txt : Temporary text file used for files operations.

Screenshot

1_loading_screen

Figure 1 : Loading Screen

2_welcome_screen

Figure 2: Welcome Screen

3_main_menu

Figure 3: Main Menu

7.0_admin_login

Figure 4: Admin Portal

8_Admin_portal

Figure 5: Car List accessed from Admin Portal

4_student_portal

Figure 6: Students Portal

6.0_student_book_list

Figure 7: Car List accessed from user Portal

10_exit_screen

Figure 8: Exit Screen

Contributing

Although this is a very basic C++ project but it has a very deep understading of file management and structures and there is always some room for improvement. This is a bit raw implementaion and it needs some finishing. Use of Classes and suitable Data Structure like vectors is next step for this proj ect.

Therefore Contributions are welcome! If you'd like to contribute to the project, please fork the repository, make your changes, and submit a pull request. Ensure your code follows the existing coding style and standards.

Keep Coding, Keep Smiling!, Have Fun! 💻🚀

About

Car Rental System designed to manage car rental operations. It allows user operations and administrative tasks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages