Coder Social home page Coder Social logo

car-rental-system's Introduction

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! ๐Ÿ’ป๐Ÿš€

car-rental-system's People

Contributors

ayush-saklani 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.