Boy * i = new Boy("ting yang");
// It's me.
Girl * u ;
while (true) {
try {
u = new Girl("anqin cheng");
}
catch (std::bad_alloc) {
continue;
}
if (u != NULL){ break; }
// Usually you will be trapped in this loop
// for a *very* long time.
}
try{
while (true) {
switch( u->statu() ){
case"hungry": i->feed(u);break;
case"tired": i->hug(u);break;
case"sleepy": i->sleep(u);break;
case"leave": i->heartbreaking(u);break;
// 看到你离开的背影是令人心碎的.
default: i->say(u,"I Love U");break;
}
}
}
catch(Girl::DoNotLoveMe){
// Some day I will catch this message.
i->believeInLove (false);
// I will never believe in love anymore.
sys.exit(-1);
// Until reboot.

}
// 右边的图就是你每次离开的时候 我的心的状态.
  My Girl, I have                             
waiting for you
      for
    333 days 17 hrs
  07
mins 33 secs
Live with you forever and ever.
- TingYang && AnqinCheng