cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
[Help] C++ Object Oriented Programming
[Help] C++ Object Oriented Programming
Jul 21, 2011 at 9:27am UTC
treepig
(11)
Solved
Last edited on
Jul 21, 2011 at 11:19am UTC
Jul 21, 2011 at 9:52am UTC
Zhuge
(4664)
The code itself is fine, though I don't see why you have the name and number for a bicycle be private if you just provide functions that give full access. There are also a few temporary variables you don't need, but that's nothing to do with OOP.
Topic archived. No new replies allowed.