1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#include <iostream>
#include <string>
#include "Apata.h"
#include "Trex.h"
#include "Hadro.h"
using namespace std;
int main()
{
string diet, beh, col, food;
int arml;
bool silly;
double h, w, spd, tail;
char gender;
Apata applejack("herbivore", 13.1, 41.6, "fast", "honest");
Trex trixie("carnivore", 1.2, 22.9, "fast", "great and powerful");
Hadro hoity("omnivore", 98.4, 3.2, "slow", "uptight");
getchar();
return 0;
}
|