If I have the following:
would these create arrays of objects???? Im not to sure how to do this.Code:struct aStruct { int val; int num; }; class aClass { private: aStruct aObj[MAX]; <---- array of struct objects??? public : void someFnct(); }; //-------------------------------------- void aClass::someFnct() { aClass clsObj[MAX]; <---- array of class objects??? ... } //---------------------------------------
Any help would be appreciated. Thanx