一个女孩写的经典求爱程序!!!
[img]http://bbsimg1.qq.com/2006/05/02/000/211.gif[/img][img]http://pic.comicme.net:6600/upload/2006-04-19/114543072120==20--1.gif[/img]
[color=Blue]result love(boy, girl)
{
if( boy.有房() and boy.有车() )
{
boy.set(nothing);
return girl.嫁给(boy);
}
if( girl.愿意等() )
{
while(!(boy.赚钱 > 100,000 and girl.感情 > 8 ) )
{
for( day=1; day <=365; day++)
{
if( day == 情人节 )
if( boy.givegirl(玫瑰) )
girl.感情++;
else
girl.感情--;
if( day == girl.生日)
if( boy.givegirl(玫瑰) )
girl.感情++;
else
girl.感情--;
boy.拼命赚钱();
}
}
if( boy.有房() and boy.有车() )
{
boy.set(nothing);
return girl.嫁给(boy);
}
年龄++;
girl.感情--;
}
return girl.goto( another_boy);
} [/color] 房、车、钱、玫瑰. 这是什么..
不是C..也不是C++..也不是JAVA..
难道是VC?VB?
猜不到.. 是什么东西?
看不懂哦. 貌似随便写的吧
难道现在女孩子都那么现实?
房子 车子 票子 玫瑰 房子 车子 票子 玫瑰是很重要 =。=确定不是男的写的? 好象是VB 拉倒吧..= =||
这种女滴...娶来也是麻烦...
要这个要哪个的..
页:
[1]