There is a code
string buffStr, f;
int buffInt;
buffDate int[3];
Detal item[10];
cout << "Input detalName: ";
cin >> buffStr;
item[5].setName(buffStr);
cout << endl;
FC after entering the name.
code name description:
class Detal {
std::string detalName;
int detalSort, detalDate[3], detalQuant, deta...