精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>动漫图酷>>● 爆笑园地>>【爆笑图库】→历史精华

>>【爆笑图库】→2002年历史精华>>【爆笑园地----现代笑话】>>追女孩子的程序!(推荐)


主题:追女孩子的程序!(推荐)
发信人: alexstar(明仔)
整理人: kedebaby1981(2002-07-05 21:40:01), 站内信件
#define AND && 

RESULT love(boy, girl) 


  if( boy.有房() AND boy.有车() ) 
  { 
   boy.Set(Nothing); 
   return girl.嫁给(boy); 
  } 
  else if( girl.愿意等() ) 
  { 
   next_year: 
   for( day=1; day<=365; day++)
   {
    if( day == 情人节 )
     if( boy.GiveGirl(玫瑰) )
      girl.感情++;
     else
      girl.感情--;
    if( day == girl.生日)
     if( boy.GiveGirl(玫瑰) )
      girl.感情++;
     else
      girl.感情--;
    boy.拼命赚钱();
   }
   年龄++;
   girl.感情--;
   if( boy.有房() AND boy.有车() )
   {
    boy.Set(Nothing);
    return girl.嫁给(boy);
   }
   else if( boy.赚钱 > 100,000 AND girl.感情 > 8 ) 
    goto next_year; 
   else 
    return girl.goto( another_boy); 
  } 
  return girl.goto( another_boy); 



----
<img src=null alt=null>http://img.chinauser.com/img/10206056371.jpg

[关闭][返回]