1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
void loadInventory(string fileName, int id, string n, int h, int w, int l, int count, double p, double wt, string r)
{
ofstream outStream;
ifstream inStream;
inStream.open(" ");
if (inStream.fail()) {
cout << "Please enter the file name: " << endl;
cin >> fileName;
}
setItem(id, h, w, l, count, p, wt, n, r);
//setItem is undefined here
}
|