: 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