pallet.h

#pragma once #include <iostream> #include <string> #include <vector> using namespace std; class Pallet { public: /*Pallet(int PalletID, int PalletWeight) { PalletID++; PalletWeight; cout << "Pallet has been created with ID: " << PalletID << "!" << endl; cout << "The Pallet weight is " << PalletWeight << endl; }*/ int PalletWeight; void AddItem(string item); void RemoveTopItem(); void GetItemAtPosition(int position); void ListAllItems(); int GetCurrentWeight(); int GetMaxWeight(); protected: vector <string> PalletContent; }; //#endif

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.