Tell me how can the function setSumm() to write output from input in a loop.
I only teach the pros.
private: vector name; }; void Summ::setSumm() { for (int i = 0; i < SIZE_VEC; ++i) { cout << i + 1 << "- "; string var; getline(cin, var); name.push_back(var); } }