精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>地方风情>>梦飞珠澳>>ω■艺术长廊·深情每天■ω>>ω旧版精华暂存ω>>暂存(1)>>恋爱程序

主题:恋爱程序
发信人: cancer_chen(巨蟹在发呆)
整理人: tf386930(2002-03-09 15:38:18), 站内信件
#define AND && RESULT love(boy, girl) 
void main( ) 

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); 





----
  巨蟹的snoopy幸福是一只温暖的小狗....    

[关闭][返回]