I keep getting weird C4430 and C2143 errors when I try to compile my code. My class has data members which point to different classes and the errors are saying that it is expecting a ";" in between the class name and "*". Here's a summary of my class:
#include "CarStack.h"
#include "CarQueue.h"
#include "CarDeque.h"
#include "base_class.h"
class my_class : public base_class
{
public:
//Member Functions
private:
//Other data members
CarStack* car_stack;
CarQueue* car_queue;
CarDeque* car_deque;
};
The errors are coming up with those class pointers. Why would I get errors like this? Is there something important I'm missing?