Create a gist now

Instantly share code, notes, and snippets.

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