mirror of
https://github.com/szymon-jozef/ZUT-notatki.git
synced 2026-09-07 20:20:39 +02:00
12 lines
228 B
C++
12 lines
228 B
C++
#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
|
|
}
|