0

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.
http://www.mediafire.com/?6v4r0scx98h2bg3

1
Contributor
1
Reply
2
Views
7 Years
Discussion Span
Last Post by mahdir24
0

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

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.