struct ExperPilot
{
unsigned int xpIdNum;
double xpFlightTime;
};//ExperPilot
class AircraftType
{
public:
//...
private:
char atType[20];
unsigned int atNoOfSeats;
double atMaxTakeOfLoad;
ExperPilot* atExperPilots;
unsigned int atNoOfExperPilots;
};// AircraftType
i have this class and i want to read a txt file and put it in a dynamic array type AircraftType. the txt file has the format
AIRBUS\T295\T275000\n
CONCORDE\C-2000\T1274.2\n
can anyone help me to continue my project?thanks..