Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@cgag
Created February 23, 2013 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cgag/5021178 to your computer and use it in GitHub Desktop.
Save cgag/5021178 to your computer and use it in GitHub Desktop.
class Car {
private:
void top () {
printf(" ________________________");
printf(" / | \\");
printf(" / | \\");
printf(" / | \\");
printf(" / | \\");
printf(" / | \\");
printf(" / | \\");
printf(" /___________________|________________\\__________");
printf(" ____________/ \\");
printf(" / \\");
printf(" / \\");
};
void bottom () {
printf(" / |");
printf(" / ,---------, ,-----------, |=====");
printf("| / ______ \\ / ________ \\ |=====");
printf("| / / \ \\ / / \\ \\___________/");
printf(" \\_____/ / \ \\_______________/ / \\");
printf(" / | | |");
printf(" | | | |");
printf(" | / \\ /");
printf(" \\ / \\ /");
printf(" \\_______/ \\_______/");
};
public:
void drive () {
top();
bottom();
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment