Untitled

MAIN
 avatar
unknown
c_cpp
4 years ago
515 B
3
Indexable
#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;
}
Editor is loading...