diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-10-03 10:34:53 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-10-03 10:34:53 +0200 |
commit | 6cda6a35647b5faad8914b66f277e5bf645bbfd2 (patch) | |
tree | 7adb1dd155bc6c1ac09016a637ffa1fcaae27bf7 /week-6/main.cpp | |
parent | 5c8d2ae4da91571f92f26d6e8352538c043e6b56 (diff) |
week 6 huiswerk toegevoegd
Diffstat (limited to 'week-6/main.cpp')
-rw-r--r-- | week-6/main.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/week-6/main.cpp b/week-6/main.cpp new file mode 100644 index 0000000..701ac33 --- /dev/null +++ b/week-6/main.cpp @@ -0,0 +1,23 @@ +#include "PuntContainer.h" + +#include <iostream> + +int main() +{ + PuntContainer container; + + container.add( 1, 3, 4 ); + container.add( 3, 2, 1 ); + container.add( 2, 4, 2 ); + + container.sort2( &PuntContainer::checkZ2 ); + container.showAll(); + + container.sort2( &PuntContainer::checkY2 ); + container.showAll(); + + container.sort2( &PuntContainer::checkX2 ); + container.showAll(); + + return 0; +} |