// ********************************************************** // file race.cc // ********************************************************** // // example driver program for a racing game using objects // of class car #include #include #include "car.h" #include using namespace std; const int MAX = 10; int main() { Car cars[MAX]; int maxTravel; for (int x=65; x<65+MAX; x++) cars[x-65] = Car((char)x); for (int x=0; x<10; x++) { system("clear"); long oldTime = time(NULL); for (int y=0; y