Jump to content
Sign in to follow this  
Vangamer

any one help me?

Recommended Posts

I was trying to compile the Stationwagon class I got an error stating 'StationWagon::getNumWheels': must return a value. Same with getNumDoors Thoughts?

Share this post


Link to post
Share on other sites

Can you post a code snippet where you use that method call?

In general you are probably not returning a value inside your getNumWheels method. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

Welcome to GameNader! We are committed to being an open and unbiased forum for gamers everywhere! All the while providing the best quality articles, news, and reviews!
×