Please correct my code, I don no the use the ponter argument to initialize wareh
ID: 3539392 • Letter: P
Question
Please correct my code,
I don no the use the ponter argument to initialize warehouse array, can explain how to do?
And check other wrong in my code.
My code:
#include <iostream>
#include <string>
using namespace std;
const int SIZE = 8;
class SportShoe_Inventory
{
private:
string name;
int warehouse[SIZE];
public:
int * set_data()
{
int i;
cout<<"Enter Shoe name :";
getline(cin, name);
for(i=0 ; i<8 ; i++)
{
}
}
void display_reserve()
{
int i;
}
};
int main()
{
SportShoe_Inventory SI;
int array[10] = {5, 10, 15, 20, 25, 30, 35, 40};
set_data();
display_reverse();
return 0;
}
Explanation / Answer
i can help for this work
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.