It is a General purpose Medical Store Inventory System and this project is developed using C++. This is a mini project and its for beginners. It handles simultaneously for both a medical store or a general store. This projects entire program is Password protected which the user sets himself and may edit later. This mini project is good for those people who want to learn programming in C++ Programming language.
Used Language:
C++ Introduction:
The C language was developed in 1972 by Dennis Richie at Bell laboratories. C++ Programming is a upgraded version of C Programming. C++ is a middle-level programming language developed by Bjarne Stroustrup starting in 1979 at Bell Labs. C++ runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.
Here is an example of a mini project for a medical store inventory system in C++:
#include <iostream> #include <unordered_map> #include <string> using namespace std; // Store inventory as a map from medicine name to quantity unordered_map<string, int> inventory; // Function to print current inventory void printInventory() { cout << "Current inventory:" << endl; for (const auto& [medicine, quantity] : inventory) { cout << medicine << ": " << quantity << endl; } } // Function to process an order void processOrder() { string medicine; int quantity; cout << "Enter medicine to order: "; cin >> medicine; cout << "Enter quantity: "; cin >> quantity; inventory[medicine] += quantity; cout << "Order processed. New inventory:" << endl; printInventory(); } int main() { // Initialize inventory inventory["ibuprofen"] = 100; inventory["aspirin"] = 50; inventory["acetaminophen"] = 75; // Print initial inventory printInventory(); // Process orders cout << "Enter 'O' to process an order, 'Q' to quit: "; char input; cin >> input; while (input != 'Q') { if (input == 'O') { processOrder(); } cout << "Enter 'O' to process an order, 'Q' to quit: "; cin >> input; } return 0; }
This code defines a function printInventory
to print the current inventory, and a function processOrder
to prompt the user for an order and update the inventory accordingly. The main
function initializes the inventory with three medicines and their quantities, and then enters a loop to process orders until the user quits by entering ‘Q’.
I hope this helps! Let me know if you have any questions.
YOUSAF KHAN
i need MS ACCESS 2007 PROJECT WITH THESIS PLEASE SEND ME AS SOON AS POSSIBLE
THANKS