[分享]某女生编的C++程序2.0版

terrence

知名会员
注册
2002-10-23
消息
1,489
荣誉分数
12
声望点数
148
代码:
result love(boy, girl) 
{ 
    if ( boy.有房() and boy.有车() ) 
    { 
        boy.set(nothing); 
        return girl.嫁给(boy); 
    }
    else 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( girl.耐心 == 0 && girl.有其它追求者)
                {
                    girl.goto( another_boy); 
                    boy.郁闷中();
                    boy.天天到军坛灌水();

                    return 没有结果;
        }

            } 
        }

        try
        {
            girl.要男友买房();
            girl.要男友买车();
            girl.每天逛专卖店();
            if ( boy.有房() && boy.有车() ) 
            { 
                girl.去澳洲旅游(boy);
                girl.到英国威斯敏斯结婚(boy);
                girl.嫁给(boy); 

                boy.没日没夜挣钱();
            }
        }
        catch()
        {
            girl.byebye(boy);
            boy.郁闷中();
            boy.天天到军坛灌水();

            return girl.broadcast("这个男人真小气";
        }

        return girl.每天逛专卖店(); 
    }

    return girl.goto( another_boy); 
}
 
无奈死了~

。。。。。。。。。。

肯定是个上海MM没错的~
 
后退
顶部