回精華區
作者simple.bbs@bbs.wfc.edu.tw (養兵千日 用在一時) 看板: plan
標題[功能]樂透彩-大樂透(修改版)
時間卡布奇諾 (2004/10/27 Wed 00:39:26) Updated: 2005/11/14
: struct.h 新增這個 struct 在 MODELOG 後面

/* ----------------------------------------------------- */
/* lottery.c 中運用的資料結構                            */
/* ----------------------------------------------------- */

typedef struct
{
  char userid[IDLEN + 1];       /* 購買者 */
  int num[6];                   /* 所購買的彩券6個號碼 */
  int prize;                    /* 中什麼獎項 */
}      BUY_LOTTERY;


: global.h

+ #define FN_RUN_LOTTERY        "run/lottery"       /* 本次樂透全站購買名單 */
+ #define LAST_KEEP_MONEY   "run/lottery.lastmoney"  /* 記錄上期未發的獎金 */

#define BMTA_LOGFILE    "run/bmta.log"  /* 收外部信的記錄 */

--
※ Origin: 吳鳳技術學院電算中心 卡布奇諾 <bbs.wfc.edu.tw>
◆ From: bbs.wfc.edu.tw
精華選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻