#include #include "ponto.h" using namespace std; int main(int argc, char** argv) { ponto *p, *paux; int pSize, tmp; cout << " O tamanho de p é " << sizeof(p) << endl; cout << " O tamanho de ponto é " << sizeof (ponto) << endl; cout << "Informe o número de pontos a serem criados " << endl; cin >> pSize; if(pSize>1) p=new ponto[pSize]; else p=new ponto; for(int i=0; i " << &p[i] << endl; cout << "Informe o valor de X: "; cin >> tmp; p[i].setX(tmp); cout << "Informe o valor de Y: "; cin >> tmp; p[i].setY(tmp); } paux=p; for(int i=0; igetX() << ", " << paux->getY() << endl; paux++; } return 0; }