#ifndef REDBASE_H
#define REDBASE_H
#include <iostream.h>
#include <fstream.h>
#include "reobject.h"
#include "onefamily.h"
class redbase {
public:
redbase(char * file) //Opens file
{
file = "property.dat";
ifstream infile;
cout<<"\nPlease enter the input file name \n(need including the file extention): ";
cin>>file;
fp = file;
}
private: reobject *baseptr[100];//Is this Array of pointers to base class?? HELP ME??
char *fp;
baseptr baseptr+1;
};
#endif
//I NEED TO DECLARE AN ARRAY OF POINTERS TO REOBJECT
//HOW DO I DO THAT//
//I ALSO NEED TO CREATE ANOTHER PRIVATE MEMBER THAT CONTAINS THE INDEX OF THE NEXT AVAILABLE EMPTY CELL IN THE ARRAY OF POINTERS//