Untitled

MAIN
mail@pastecode.io avatar
unknown
c_cpp
3 years ago
515 B
1
Indexable
Never
#include "ContenitoreDinamico.h"

int main() {
    DinamicContainer firstIstance = DinamicContainer(2);
    DinamicContainer secondIstance = DinamicContainer(4);
    DinamicContainer thirdIstance = DinamicContainer(1);
    firstIstance.add(17);
    firstIstance.add(3);
    firstIstance.add(5);
    firstIstance.add(5);
    secondIstance.add(9);
    secondIstance.add(21);
    secondIstance.add(33);
    firstIstance.istancesSum(firstIstance, secondIstance, thirdIstance);
    cout << thirdIstance;
}