Function call missing error
I'm facing some errors regarding the bool member. It gives me a function call missing argument list error whenever I tried to build the code.
This are the code I did for the bool member under .h
And this is the code I did under .cpp
1 2 3 4 5 6
|
bool Reservation::member()
{
if (member)
return true;
else return false;
}
|
It's not a good idea to have a variable and a function with the same name.
Try renaming the variable member to something else.
Topic archived. No new replies allowed.