title: C++ Use of enum '___' without previous declaration in header file?
body: <p>I'm trying to use enums to represent streets and directions in a traffic simulation. I'm running into an issue of trying to include in my Vehicle header file putting the enums in the constructor and putting it into the Vehicle constructor. </p>
  
  <p>I get the error when I try to compile Vehicle.h 
   - use of enum 'street/direction' without previous declaration. 
   - and two expected identifier before ',' token where I declare Vehicle constructor</p>
  
  <p>Here is what I have so far.</p>
  
  <pre><code>//Street.h
  
  #ifndef STREET_H
  #define STREET_H
  
  enum street
  {
      Main = 1,
      Church,
  };
  
  #endif
  
  //Direction.h
  
  #ifndef DIRECTION_H
  #define DIRECTION_H
  
  enum direction
  {
      E = 1,
      W,
      N,  
  };
  
  #endif
  
  //Vehicle.h
  
  #ifndef VEHICLE_H  
  #define VEHICLE_H
  
  #include "Street.h"
  #include "Direction.h"
  
  class Vehicle
  {
     private:
      int vehicleNumber;
      int arrivalTime;
      int departureTime;
      enum street;
      enum direction;
  
     public:
      Vehicle(int, enum, enum, int);
  };
  
  #endif
  </code></pre>