I'm working on a final project for my advanced C++ class and my teacher is kinda baffled as well on this error. I'm hoping someone can see something wrong in this program. I'm enclosing my 4 header files and the main driver program. The errors are:
Type name expected
Can't convert (int*) to (account*)
Missing statement ;
Each case statement 1-3 in my main program are receiving these errors. When I view the error it falls in the dynamic memory allocation line 'p=new' of the case. If anybody can help me out here I would greatly appreciate it.
One thing: it might have something to do with the ifndef and define statements or the #include statements within the header files. The book doesn't go into any detail about this, and our teacher is teaching this class for the first time. Thanks for any help.