I have header file with the folloing code<br>
VEHICLE_TYPE GetVehicleType() const;<br>
<br>
<br>
In my cpp file I have the fllowing code<br>
<br>
VEHICLE_TYPE CRentalCar::GetVehicleType() const<br>
{<br>
return(m_eVehicleType);<br>
}<br>
<br>
It says that I have a syntax error. I just started learning c++. Any ideas. The erro is 2143. <p>Villica<br><a href=mailto:villica67@hotmail.com>villica67@hotmail.com</a><br><a href= > </a><br>
VEHICLE_TYPE GetVehicleType() const;<br>
<br>
<br>
In my cpp file I have the fllowing code<br>
<br>
VEHICLE_TYPE CRentalCar::GetVehicleType() const<br>
{<br>
return(m_eVehicleType);<br>
}<br>
<br>
It says that I have a syntax error. I just started learning c++. Any ideas. The erro is 2143. <p>Villica<br><a href=mailto:villica67@hotmail.com>villica67@hotmail.com</a><br><a href= > </a><br>