Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
434 B
0
Indexable
Never
#include <iostream>
#include <vector>
#include <string>

using namespace std;
class schooler {

    
    
    vector <int> jur;

    string name="Arthur";
    int cl = 3;
public:
    void addmark(int bb)
    {
         jur.push_back(bb);
         cout << jur[0];//чисто для проверки работы
        
    }
};

int main()
{
    schooler Arthur;
    Arthur.addmark(5);
    
   
    
}