欧美日韩一区二区高清,久久视频这里只有精品,超黄网站在线观看,成人av影院在线观看

Rss & SiteMap

曙海教育集團(tuán)論壇 http://www.bjzhda.cn

曙海教育集團(tuán)論壇
共1 條記錄, 每頁(yè)顯示 10 條, 頁(yè)簽: [1]
[瀏覽完整版]

標(biāo)題:沒有見過的c語(yǔ)言用法,求救

1樓
wangxinxin 發(fā)表于:2010-12-10 11:39:46
//-------------------------------------------------------------------------------------
unsigned char IfInterTimeOK(tagInterTime * ptime) {
        if(ptime->ucDelay == 0) return 0;
    ptime->ucCount = (ptime->ucCount) + 1;
    if(ptime->ucCount >= ptime->ucDelay) {
            ptime->ucCount = 0;
        return 1;
    }
    return 0;
}
//-----------------------------------------------------------------
typedef struct {
        unsigned char ucDelay, ucCount;
}tagInterTime;                                                                        // Control the interface control time
unsigned char IfInterTimeOK(tagInterTime * ptime);// 1:Action OK
//---------------------------------------------------------------------------------
#define __INTERTIME_DECL(x, y)        SUBLIB_EXT tagInterTime g_it##x;  
#define __IT_START(x, y)                (g_it##x##.ucDelay = y, g_it##x##.ucCount = y)
#define __IT_STOP(x, y)                        g_it##x##.ucDelay = 0
#define __IT_OK(x, y)                        IfInterTimeOK(&g_it##x)
//------------------------------------------------------------------------------
#define IT_DECL(x)                                __INTERTIME_DECL(x)
#define IT_START(x)                                __IT_START(x)
#define IT_STOP(x)                                __IT_STOP(x)
#define IT_OK(x)                                __IT_OK(x)

#define AAA                        A, 25

下面這是用法,不知道是什么意思?
IT_START(AAA);   
if(IT_OK(AAA)) IT_START(AAA);
IT_STOP(AAA);
忘c(diǎn)語(yǔ)言高手指教一下
共1 條記錄, 每頁(yè)顯示 10 條, 頁(yè)簽: [1]

Copyright © 2000 - 2009 曙海教育集團(tuán)
Powered By 曙海教育集團(tuán) Version 2.2
Processed in .04688 s, 2 queries.
主站蜘蛛池模板: 建阳市| 陈巴尔虎旗| 泾阳县| 丰台区| 冕宁县| 兴城市| 黔西县| 青铜峡市| 汤原县| 东丽区| 淳化县| 肥乡县| 鹿邑县| 南溪县| 攀枝花市| 绩溪县| 扎囊县| 台东市| 鸡西市| 启东市| 斗六市| 西青区| 景东| 黄陵县| 梧州市| 大冶市| 柳林县| 光山县| 府谷县| 闵行区| 德兴市| 且末县| 武宣县| 祁东县| 都安| 临城县| 宁海县| 任丘市| 汾阳市| 措勤县| 清水县|