J
James
I have a class called Manager, which I want to instantiate in my driver
class. It is in a file called Manager.cpp. Manager has no constructors set
up.
I also have a driver class and I want to create a Manager object called
manager in my main function of the driver class.
I used the code:
Manager manager;
However i get errors such as "Manager: undeclared identifier" and "syntax
error : missing ';' before indentifier 'manager'" when I try to compile.
What am I doing wrong?
class. It is in a file called Manager.cpp. Manager has no constructors set
up.
I also have a driver class and I want to create a Manager object called
manager in my main function of the driver class.
I used the code:
Manager manager;
However i get errors such as "Manager: undeclared identifier" and "syntax
error : missing ';' before indentifier 'manager'" when I try to compile.
What am I doing wrong?