Commit ace58fc5 by Patryk Czarnik

Metoda size

parent 9cfc078a
...@@ -9,6 +9,10 @@ Wektor::~Wektor() { ...@@ -9,6 +9,10 @@ Wektor::~Wektor() {
} }
int Wektor::size() {
return liczba_elementow;
}
void Wektor::push_back(int e) { void Wektor::push_back(int e) {
t[liczba_elementow] = e; t[liczba_elementow] = e;
liczba_elementow++; liczba_elementow++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment