mirror of
https://github.com/szymon-jozef/ZUT-notatki.git
synced 2026-10-28 11:10:38 +01:00
rzeczy
This commit is contained in:
11
uczelnia/2_semestr/programowanie/laby/lab8/zad3.cpp
Normal file
11
uczelnia/2_semestr/programowanie/laby/lab8/zad3.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "licznik.cpp"
|
||||
#include "wektor.cpp"
|
||||
|
||||
int main() {
|
||||
Wektor2D a(1, 2), b(3, 4);
|
||||
a += b;
|
||||
std::cout << a << std::endl; // (4,6)
|
||||
Licznik c(10);
|
||||
Licznik d = c++;
|
||||
std::cout << c << " " << d << std::endl; // 11 10
|
||||
}
|
||||
Reference in New Issue
Block a user