08 2016 档案

C语言可变参数宏及‘##’在可变参数中的作用
摘要:测试代码及解释: [详见参考][1] [1]: http://www.cnblogs.com/alexshi/archive/2012/03/09/2388453.html 阅读全文

posted @ 2016-08-26 11:03 懒惰的码农 阅读(629) 评论(0) 推荐(0)

搬书游戏
摘要:stylus include using namespace std; int main() { int total,book[101],temp[101]; cin total; int i,j; for(i=0; i book[i]; int score=0,c=total; while(c 1 阅读全文

posted @ 2016-08-05 23:07 懒惰的码农 阅读(174) 评论(0) 推荐(0)

程序中数字取反结果公式
摘要:~n = (n+1) 验证代码 stylus include using namespace std; int main() { int i=0; for(i=0;i 阅读全文

posted @ 2016-08-05 14:57 懒惰的码农 阅读(400) 评论(0) 推荐(0)

导航