hi
how do i create an array of pointers to point objects. point objects are delared by the following.
I dont know how many point objects i will be taking in so how do deal with this and how do i reference each point on the array afterwards!!!!
any help much appreciated...............
i have functions that get x and y, i need to be able to reference them for calculating the area of a triangle......Code:class point { point::point() {} point::point(int int); point::getX(); point::getY(); protected: float x; float y; }; //end class point



LinkBack URL
About LinkBacks


