Created
January 24, 2011 21:48
-
-
Save berkeley-db/794027 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Car { | |
size_t length, width, height; | |
Engine *engine; | |
string model; | |
// Member functions follow ... | |
}; | |
class Engine { | |
size_t horse_power; | |
char num_cylinder; | |
float displacement; | |
// Member functions follow ... | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment