Skip to content

A C++ program that simulates the operations of a car dealership that specializes in listing cars owned by other people

Notifications You must be signed in to change notification settings

PiCiU1221/Car-Dealership-Management-System

Repository files navigation

Car Dealership Management System

This C++ program simulates the operations of a car dealership that specializes in listing cars for other people. It was initially created as a college task and has been gradually improved every one or two weeks with new functionality and programming features, such as overloaded operators, nested classes, and class friend.

The program was designed for the director of a car dealership to easily add new vehicle owners and create listings for their vehicles with specified data. The user can change the current vehicle type, such as car or motorcycle in the main menu. In addition, the program allows for testing by randomly generating example data, as well as writing to and reading from a file. The program also includes a search function that allows users to search through listings using specific criteria, such as gearbox type or fuel consumption.

Usage

The program offers the following unusual options:

  • changing the vehicle type from the main menu,
  • editing the chosen listing, with the choisen atttibute to be changed,
  • searching throught the listings and displaying only these that meet chosen criteria ex. (production year, price),

The program offers the following options:

  1. Randomize owners and listings for testing
  2. Add an owner
  3. Remove an owner
  4. Display owners
  5. Add a new listing
  6. Edit a listing
  7. Delete a listing
  8. Display listings
  9. Search through listings
  10. Confirm sale
  11. Display the amount of owners and listings
  12. Write to a file
  13. Read from a file

The program includes the following advanced features:

  • Editing a chosen listing, with the chosen attribute to be changed,
  • Searching through listings and displaying only those that meet specific criteria, such as production year or price.

Main Menu

Main menu

Displaying owners

Displaying owners

Displaying listings

Displaying listings

Searching through listings

Searching through listings

About

A C++ program that simulates the operations of a car dealership that specializes in listing cars owned by other people

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages