About
#include <stdio.h>
#include "smilo.h"
#include "wife.h"
#include "daughter.h"
#include "son.h"
int main() {
me smilo = new smilo();
wife lovelyWife = new wife();
child cuteDaughter = new child();
child braveSon = new child();
while(1) {
smilo.Wakeup();
if (on weekdays) {
smilo.Think();
smilo.Work(HARD);
smilo.Communicate();
} else {
smilo.SpendTime(lovelyWife, cuteDaughter, braveSon);
}
smilo.Sleep(60 * 60 * 7);
}
return 0;
}