标题:我们多少年买的起房
只看楼主
leisure1980
Rank: 1
等 级:新手上路
帖 子:66
专家分:0
注 册:2007-9-6
得分:0 

My life goal, senior programmer! 编程中国c/c++交流群:45146331 验证信息请输入:编程中国
2007-09-13 20:32
zhu471712418
Rank: 1
等 级:新手上路
帖 子:24
专家分:0
注 册:2007-9-18
得分:0 
结果都让人心寒
2007-09-19 13:20
Sexey_Boy
Rank: 1
等 级:新手上路
帖 子:17
专家分:0
注 册:2007-9-10
得分:0 
以下是引用anthony634在2007-9-13 13:12:50的发言:

int i = now;

bool isWinLottery = false;
while (i< you.deathDay)
{
if (isWinLottery)
{
you.bequeath = you.Money + Lottery.Money;
you.bequeath = you.bequeath + buyHouse(you);
you.bequeath = you.bequeath + marriage(you, yourGirl);
you.bequeath = you.bequeath + procreate(yourGirl);
you.bequeath = you.bequeath+ doSomeThing(yourFamily);
break;
}
else
{
isWinLottery= buyLottery();
};
i++;

};
you.lifeOver();
yourafterworld.bequeath = yourafterworld.bequeath + you.bequeath;
you.bequeath = 0;
beta1:忘记C/C++怎么写的了
beta2:还是没想起来C语法是不是这样写的,有空得复习一下,哎,学了就丢了,英语不会查字典


2007-09-19 15:33



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-169615-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.452606 second(s), 10 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved