Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
myFamily.add("fight", NULL);
myFamily.add("sorrow", NULL);
myFamily.add("divorce", NULL);
// congrats -
EV-EV3586yStruct FamilyStruct{
std::string husband[2];
std::string wife[2];
std::string cat[2];
std::string child[2];
unsigned int divorce;
} -
zotigapo7646yTry {
YourFamily.addTime('8months');
YourFamily.noSleep('1year');
YourFamily.addTime('1year');
While(true) {
YourFamily.addHappiness();
}
}
Catch (HappinessOverflow h) {
YourFamily.you.write('your story here'):
} -
You can use a weird version of the visitor design pattern here where every family member holds an instance of family and add itself to it?
Also, congrats :)
Thought of this but no one would truly get it anywhere else...
Family myFamily = new Family();
myFamily.add("husband", "Sept 2011");
myFamily.add("wife", "Sept 2011");
myFamily.add("cat", "July 2012");
myFamily.add("child", "August 2019");
rant
#expecting