// // TabEnt.cpp // TableauEntier // // Created by vlaurain on 30/01/2020. // Copyright © 2020 vlaurain. All rights reserved. // #include "TabEnt.hpp" //=======Constructeurs TabEnt::TabEnt(int t, int v) { int i; if (t>0) {taille=t; ptr= new int[taille]; //allocation for(i=0;i0) { *(ptr+pos)=v; } else{ cout<<"position inexistante"<0) { dummy=new int[taille+n]; //réalloue à la bonne taille for(i=0;i