mirror of
https://github.com/szymon-jozef/ZUT-notatki.git
synced 2026-10-28 11:10:38 +01:00
kod
This commit is contained in:
@@ -8,10 +8,11 @@ public:
|
||||
|
||||
int main() {
|
||||
std::cout << "Start" << std::endl;
|
||||
Test a;
|
||||
Test a; // konstruktor 1
|
||||
{
|
||||
Test b;
|
||||
Test b; // konstruktor 2
|
||||
std::cout << "Wewnatrz bloku" << std::endl;
|
||||
}
|
||||
} // destruktor 2
|
||||
std::cout << "Koniec" << std::endl;
|
||||
// destruktor 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user