>cout<cout<< fly.freeSeat() <<'\n';
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
Change this line:
cout<<fly.freeSeat;
to this: cout<<fly.freeSeat();
Remember that freeSeat is a function ;).
Edit: I guess Narue was faster :)
unbeatable0
Junior Poster in Training
90 posts since Sep 2008
Reputation Points: 42
Solved Threads: 13