1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
#include <iostream>
#include <iomanip>
#include <fstream>
#include <math.h>
#include <windows.h>
#include <string>
#include <sstream>
#include <cstdlib>
#include "prog4classesandfuncts.h"
//#include "ConsoleIOManager.h"
//***************************************************************
// Usings
//*****************************************************************
using namespace std;
//***************************************************************
// Main Functioin
//***************************************************************
int main()
{
string d[9]={"Regular pliers",
"N.nose pliers",
"screwdriver",
"P.head screwdriver",
"Wrench-large",
"Wrench-small",
"Drill",
"Cordless drill",
"Hand saw" };
int q[9]={25,5,25,6,7,18,51,16,12};
int i;
cout<<"parrallels"<<endl;
for (i=0; i<9; i++)
{
cout<<fixed<<left<<setw(20);
cout<< d[i]<<" "<<q[i]<<endl;
}
Sleep(5000);
BinManager::BinManager binMan(9,d,q);
//string getDescription(int index);
//int getQuantity(int index) ;
binMan.DisplayAllBins();
Sleep(2000);
};
|