Hello, I want my method of the class to take as an input an array of data type derived from class. How can I do this?
Code:
class Planet {
    public:
        // typedef class Planet PlanetType;
        void GetForce(int, PlanetType []);
};
Or when should I define my new data type PlanetType?

Thanks in advance.