Skip to content

Instantly share code, notes, and snippets.

@stephenplusplus
Created September 28, 2014 01:25
Show Gist options
  • Save stephenplusplus/4304477179b884b2e474 to your computer and use it in GitHub Desktop.
Save stephenplusplus/4304477179b884b2e474 to your computer and use it in GitHub Desktop.
saySomethingCute
void Daughter::saySomethingCute(unsigned short int whatThing) const {
std::string cuteThings[5] = {
"hiii dayud",
"a-woo!",
"mommm",
"geooo",
"bae"
};
if (whatThing > 4) {
whatThing = 0;
}
cout << cuteThings[whatThing];
}
@stephenplusplus
Copy link
Author

My most proud code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment