Good evening Daniweb, I have another idiotic problem which comes from making an arrival subclass out of Event. I have a few other subclasses of Event and they aren't giving me any trouble. I have tried to copy/paste/rewrite to eliminate any stupid typos.
Arrival.h:7: error: expected class-name before ‘{’ token
#ifndef ARRIVAL_H
#define ARRIVAL_H
#include "Event.h"
using namespace std;
class Train;
class Arrival : public Event{
public:
Arrival(int time, Train* newTrain);
void print();
void activate();
~Arrival();
};
#endif