aboutsummaryrefslogtreecommitdiff
path: root/oop2w3/main.cpp
blob: 90a88b64febd65adc4256e74923e601d8d3e128c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
}