diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-11-28 11:24:47 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-11-28 11:24:47 +0100 |
commit | 93def2de2991282bac9e320b209657f76cb31177 (patch) | |
tree | 4377f7195a949e8718b746648f3b301ad9c63081 /oop2w4/main.cpp | |
parent | deeb409ab2b0e1aeeb5dcdc0f21ed2f2462298e5 (diff) |
week 4 klaar?
Diffstat (limited to 'oop2w4/main.cpp')
-rw-r--r-- | oop2w4/main.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/oop2w4/main.cpp b/oop2w4/main.cpp index e69de29..ad3f2cd 100644 --- a/oop2w4/main.cpp +++ b/oop2w4/main.cpp @@ -0,0 +1,15 @@ +#include <thread> +#include <iostream> + +#include "MijnKlasse.h" + +int main() { + MijnKlasse* instanties[100]; + + for (int n = 0; n < 100; n++) + instanties[n] = new MijnKlasse(n); + for (int n = 0; n < 100; n++) + delete instanties[n]; + + std::cout << std::endl << "Ready" << std::endl; +} |