浆糊论坛-RO小站's Archiver

jasonx007 发表于 2006-5-2 17:35

一个女孩写的经典求爱程序!!!

[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]

wxroopl 发表于 2006-5-2 18:04

房、车、钱、玫瑰.

与星独白 发表于 2006-5-2 18:12

这是什么..
不是C..也不是C++..也不是JAVA..

难道是VC?VB?

猜不到..

飄飘 发表于 2006-5-2 18:18

是什么东西?
看不懂哦.

♀猪猪♂ 发表于 2006-5-2 19:01

貌似随便写的吧  
难道现在女孩子都那么现实?
房子  车子  票子  玫瑰

JJ哪能就一毫米 发表于 2006-5-2 19:41

房子  车子  票子  玫瑰是很重要

晓~ 发表于 2006-5-2 19:44

=。=确定不是男的写的?

NEIBOY 发表于 2006-5-3 00:05

好象是VB

佧佈︷?基洛 发表于 2006-5-3 00:40

拉倒吧..= =||
这种女滴...娶来也是麻烦...
要这个要哪个的..

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.