摘要:
#define SQL_QUERY_RecCfg "SELECT `nId`, `uiRecFlag`, `uiRecTime`, `nTodayGameid` FROM smallgame_recommend_base ORDER BY `nId`"#define SQL_QUERY_UpdateRec "UPDATE smallgame_recommend_base SET `uiRecFlag` = %d,`uiRecTime` = %d,`nTodayGameid`=%d WHERE `nId` = %d" 阅读全文
posted @ 2013-02-25 12:36
vanishfan
阅读(221)
评论(0)
推荐(0)
摘要:
不加的话会一直是一个数字,切记srand和rand形影不离 阅读全文
posted @ 2013-02-25 12:30
vanishfan
阅读(212)
评论(0)
推荐(0)
摘要:
inline int CheckBit(char c, int siOffSet){ char tmpc = 0x01 << (siOffSet-1); return (c & tmpc);}inline char SetBit(char c, int siOffSet){ char tmpc = 0x01 << (siOffSet-1); c |= tmpc; return c;}inline int CheckIntBit(int i, int siOffSet){ int tmpc = 0x00000001 << (siOffSet-1); r 阅读全文
posted @ 2013-02-25 12:29
vanishfan
阅读(870)
评论(0)
推荐(1)

浙公网安备 33010602011771号