diff options
Diffstat (limited to 'oop2w3/main.cpp')
-rw-r--r-- | oop2w3/main.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/oop2w3/main.cpp b/oop2w3/main.cpp new file mode 100644 index 0000000..90a88b6 --- /dev/null +++ b/oop2w3/main.cpp @@ -0,0 +1,15 @@ +#include <iostream> + +#include "A.h" +#include "B.h" + +int main() { + std::cout << "main()" << std::endl; + int n = 2; + A a; + B b(a); + a.setB(b); + a.actie1(n); + b.actie2(n); + return 0; +} |