I define a class queue in seperate files and it complile correct.
But error occurs when I compile the main program which uses the defined
class. It says that there is no such type(class queue).
I include class queue by ' #include "Queue.h" '
Why the error occurs?
Can anyone help me?
But error occurs when I compile the main program which uses the defined
class. It says that there is no such type(class queue).
I include class queue by ' #include "Queue.h" '
Why the error occurs?
Can anyone help me?
Comment