Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <iomanip>
- #include <fstream>
- #include <string>
- #include "Admin.h"
- using namespace std;
- Admin::Admin()
- {
- }
- Admin::~Admin()
- {
- }
- void Admin::addItem()
- {
- }
- void Admin::deleteItem()
- {
- }
- void Admin::updateQty(int)
- {
- }
- void Admin::updateCost(double)
- {
- }
- void Admin::validateInput(string uName, string pWord)
- {
- while (uName != "admin" || pWord != "password")
- {
- cout << "The username or password you have entered is incorrect. Please try again." << endl;
- cout << "Username:" << endl;
- cin >> uName;
- cout << "Password:" << endl;
- cin >> pWord;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement