int main() { Clock Ben; Ben.Set(5,59,50,0); Ben.ShowTime(); Ben.Run(); Ben.ReportTime(); return 0; }
int main (int argc, char** argv) { Creator creator; Unidraw* unidraw = new Unidraw( new Catalog("/****/", &creator), argc, argv, options, properties ); World* w = unidraw->GetWorld(); Clock* clock = new Clock("clock"); w->InsertApplication(clock); clock->Run(); delete unidraw; return 0; }