9527 |
2004-05-16 10:30 |
debug //version 3.0 by mia //support VC 6 or GCC
#include <life.h> #include <stdio.h>
#ifdef WIN32 #include <windows.h> #else $include <sys/matchs.h> #endif
#define 情人节 31 + 14 #define 玫瑰 99 #define 生日 66 //modify by yourself
int result love(struct BOY boy, struct GIRL girl) { if ( boy.有房() && boy.有车() ) { boy.set(NULL); return girl.嫁给(boy); } else if ( girl.愿意等() ) { while( ! (boy.赚钱 > 100,000 && girl.感情 > 8 ) ) { for ( int 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.有其它追求者) { boy.郁闷中(); boy.天天到军坛灌水(); goto another_boy; another_boy: return boy.气死(this); } girl.感情?return boy.气死(this):continue } }
try { girl.要男友买房(); girl.要男友买车(); girl.每天逛专卖店(); if ( boy.有房() && boy.有车() ) { girl.去澳洲旅游(boy); girl.到英国威斯敏斯结婚(boy); girl.嫁给(boy); boy.没日没夜挣钱(); } } catch() { girl.byebye(boy); boy.郁闷中(); boy.天天到军坛灌水(); return girl.broadcast("这个男人真小气") & girl.气死(boy); } return girl.每天逛专卖店(); } girl.心情 = GetCurrentStatus(); #ifdef WIN32 __asm{ push eax add eax, 0xffff cmp eax, 0xffffffff ret add eax, 0xffffffff call DWORD ptr[Destroylove] pop eax } #endif return random(girl.心情); }
int main() { struct BOY boy; struct GIRL girl; //initialize struct, input your data pls. printf("%s\n", GetMessage(love(boy, girl))); return 1; } |
|