I'm working on a project from school - airline reservation system. I have a slight problem. I created a class time and another class aircraft. In the class aircraft i have created two private data members of the type time - atime, dtime. Now why does the compiler flag an error when i try to compile and run the program at the location where i have created the objects atime and dtime. The systax error message is "Type name expected". Someone please help me out. i have uploaded a copy of my program in this link.

Ok i fixed my own prob... i changed the name of the class time to atime.. I;ts all fixed and i fixed all the other flaws in the code