ciao..
ho creato un vettore dinamico su di una struttura..
------------------
struct DPoint *Points;
Points =(struct DPoint *)malloc(sizeof(struct DPoint)*10000 );
------------------
devo aggiungere due elementi in coda...in C++ sarebbe:
------------------
Points.push_back(DPoint(value, 1.0));
------------------
ma non so qual'è l'ultimo elemento...
COME POSSO FARE??
![]()