>  投稿者:ハッカ飴 2003/01/31 (金) 21:38:59        [mirai]
> const bool mylove = true;
> bool myhappy=false;
> bool yourlove;
> void main(){
>   while(mylove){
>     if(Kokuhaku()==true)
>       break;
>     me.Nenrei += 1;
>     me.Update();
>   }
>   myhappy=true;
> }
> 
> bool Kokuhaku(){
>   yourlove = GetYourLove(me);
>   return mylove & yourlove;
> }
> 
> bool GetYourLove(human){
>   if(human.Nensyuu>10000000 & human.Nenrei<35 & human.Height>180 & human.Weight<65 & human.Otaku==false &
> human.Gakureki>=DAIGAKUIN & human.Hensati>75 & (human.Car==Porsche | human.Car==Benz) & human.Look>=GOOD){
>     return true;
>   }
>   else{
>     return false;
>   }
> }

このプログラムは無限ループに陥る可能性があるな。
なぜかって?それは‥‥‥

参考:2003/01/31(金)21時35分56秒