Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
366 B
0
Indexable
Never
#include <iostream>
#include <vector>
#include <string>
class mothers {
private:
	std::vector<int> markmas;
public:
	mothers(std::string m_name) : name(m_name) {};
	void AddMark(int a) {
		markmas.push_back(a);
	};
private:
	std::string name;
	int numcl;
};
int main()
{
	mothers arthur("arthur");
	int a;
	std::cin >> a;
	arthur.AddMark(a);

}