Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GET A ENUM TYPE

Status
Not open for further replies.

villica

Programmer
Feb 25, 2000
332
CA
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>
 
It would help to know what the syntax error is.... <p>Pat Gleason<br><a href=mailto:gleason@megsinet.net>gleason@megsinet.net</a><br><a href= > </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top