fajne rzeczy

This commit is contained in:
2026-03-17 14:20:45 +01:00
parent abd454ec61
commit cc1a7821d7
11 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#include <iostream>
class Test {
public:
Test() { std::cout << "Konstruktor" << std::endl; }
~Test() { std::cout << "Destruktor" << std::endl; }
};
int main() {
std::cout << "Start" << std::endl;
Test a;
{
Test b;
std::cout << "Wewnatrz bloku" << std::endl;
}
std::cout << "Koniec" << std::endl;
}