GithubHelp home page GithubHelp logo

seyed0123 / oxdmarketplace Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.71 MB

a basic terminal-based market management system

License: MIT License

C++ 100.00%
cpp market-management oop terminal-based

oxdmarketplace's Introduction

OXDMarketplace

Market Management System

This project is a simple market management system written in C++. It allows users to manage the inventory of a shop, including adding new items, updating existing items, deleting items, and generating reports. The system uses a struct to represent a good, with fields for name, price, brand, and the number of items in stock. This system has the ability to save data into a file and subsequently read from that file to load the information of the most recent save.

demo:

wait for it to load

Installation

To Install and run this project, you need to have a C++ compiler installed on your machine. Then, copy the code into a file with a .cpp extension, compile it using the compiler, and run the generated executable file.

cd src
g++ main.cpp
a.exe

the save file is stored near the .exe file and has the default name save.hasan

Usage

When running the program, the user is presented with a menu where they can choose to add new goods, update old goods, generate reports, and exit the system. When entering new goods, the user is asked to input the name, price, brand, and the number of items in stock. When updating old goods, the user is asked to input the new name, price, and number of items in stock. The system will find the old good with the same name and brand and update its information. The system can also generate a report showing all the goods in the store, sorted by name, price, brand, and the number of items in stock.

Contributing

If you want to contribute to this project, please fork the repository, make your changes, and then submit a pull request.

License

This project is licensed under the MIT License.

shots:

oxdmarketplace's People

Contributors

seyed0123 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.