China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-31 20:45
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » A program written by a programmer to chase a girl (everyone help test it) View 1,929 Replies 10
Original Poster Posted 2002-11-05 00:00 ·  中国 广东 佛山 南海区 电信
初级用户
Credits 145
Posts 28
Joined 2002-10-22 00:00
23-year member
UID 41
Gender Male
Status Offline
A programmer wrote a program for chasing a girl, reflecting the relationships among girls, cars, houses, and so on. I wonder whether it can run? Recommended that everyone try it.
#define AND &&
RESULT love(boy, girl)
{
  if( boy.有房() AND boy.有车() )
  {
   boy.Set(Nothing);
   return girl.嫁给(boy);
  }
  else if( girl.愿意等() )
  {
   next_year:
   for( day=1; day 100,000 AND girl.感情 > 8 )
    goto next_year;
   else
    return girl.goto( another_boy);
  }
  return girl.goto( another_boy);
Floor 2 Posted 2002-11-07 00:00 ·  中国 陕西 西安 电信
初级用户
Credits 102
Posts 1
Joined 2002-11-07 00:00
23-year member
UID 185
Gender Male
Status Offline
Isn't that too realistic! It's all money, with no emotional foundation?
Floor 3 Posted 2003-02-21 00:00 ·  中国 重庆 九龙坡区 电信
初级用户
Credits 137
Posts 14
Joined 2003-02-21 00:00
23-year member
UID 971
Gender Male
Status Offline
A classic object-oriented abstraction
Floor 4 Posted 2003-02-21 00:00 ·  中国 江苏 南京 教育网
初级用户
Credits 173
Posts 17
Joined 2003-01-07 00:00
23-year member
UID 696
Gender Male
From 江苏
Status Offline
Funny
That kind of situation appears
I can only understand it as girl pitying boy
Floor 5 Posted 2003-02-22 00:00 ·  中国 河北 石家庄 联通
银牌会员
★★★
Credits 1,835
Posts 648
Joined 2002-11-08 00:00
23-year member
UID 197
Gender Male
Status Offline
C/C++ programmer……………………

Floor 6 Posted 2003-02-25 00:00 ·  中国 吉林 延边朝鲜族自治州 珲春市 联通
银牌会员
★★★
想當一人之下萬人之上
Credits 1,275
Posts 393
Joined 2003-01-10 00:00
23-year member
UID 717
Gender Male
Status Offline
<- 刷新一下换个MM
叫我Jorkin或小p就行,别再叫playboy2925了,跟提犯人似的。
如果认为小弟发的logo不错的话,给朵鲜花我就知道了。:)
Floor 7 Posted 2003-02-27 00:00 ·  中国 河北 石家庄 联通
银牌会员
★★★
Credits 1,835
Posts 648
Joined 2002-11-08 00:00
23-year member
UID 197
Gender Male
Status Offline
Again it's one that requires a reply
Knowing perfectly well that I'm very curious……………………
Floor 8 Posted 2003-02-27 00:00 ·  中国 河北 石家庄 联通
银牌会员
★★★
Credits 1,835
Posts 648
Joined 2002-11-08 00:00
23-year member
UID 197
Gender Male
Status Offline
I was fooled………………
Floor 9 Posted 2003-03-03 00:00 ·  中国 四川 成都 电信
初级用户
Credits 128
Posts 5
Joined 2003-03-01 00:00
23-year member
UID 1018
Gender Male
Status Offline
Hey! Did you use this program to get her? ^-^
Floor 10 Posted 2003-03-16 00:00 ·  中国 浙江 温州 电信
初级用户
Credits 117
Posts 5
Joined 2003-03-16 00:00
23-year member
UID 1151
Gender Male
Status Offline
C++ has implemented the formula of love
Floor 11 Posted 2003-03-18 00:00 ·  中国 广东 深圳 龙岗区 电信
初级用户
Credits 114
Posts 7
Joined 2003-03-18 00:00
23-year member
UID 1172
Gender Male
Status Offline
Really?
Forum Jump: