Untitled

mail@pastecode.io avatar
unknown
c_cpp
3 years ago
604 B
2
Indexable
Never
#include "ContenitoreStatico.h"

int main() {
	StaticContainer staticContainerIstance1;
	StaticContainer staticContainerIstance2;
	staticContainerIstance1 = StaticContainer();
	staticContainerIstance2 = StaticContainer();
	for (int i = 0; i < 10; i++) {
		staticContainerIstance1.add(i);
		staticContainerIstance2.add(i);
	}
	staticContainerIstance1.add(2);
	staticContainerIstance1.add(2);
	staticContainerIstance1.add(32);
	staticContainerIstance2.add(4);
	StaticContainer staticContainerIstance3 = staticContainerIstance1 + staticContainerIstance2;
	cout << staticContainerIstance3;
}