c 断言 取模 数据 转换

c 取模
 
p_stu_back->pageAct = (hes->m_nCntHits % pInputs->npagesize ==0)
? (hes->m_nCntHits / pInputs->npagesize)
: (hes->m_nCntHits / pInputs->npagesize +1);

posted @ 2012-02-05 14:38  wangkangluo1  阅读(276)  评论(0编辑  收藏  举报