09 2015 档案

scandir 使用示例
摘要:int filter_fn(const struct dirent * ent) { if (ent->d_type != DT_REG) return 0; return (strncmp(ent->d_name, "w_", strlen("w_")) == 0);}void SysW... 阅读全文

posted @ 2015-09-08 14:44 小小鸟儿! 阅读(367) 评论(0) 推荐(0) 编辑

C++ 栈和队列
摘要:使用标准库的栈和队列时,先包含相关的头文件#include#include定义栈如下:stack stk;定义队列如下:queue q;栈提供了如下的操作[cpp]view plaincopys.empty()如果栈为空返回true,否则返回falses.size()返回栈中元素的个数s.pop()... 阅读全文

posted @ 2015-09-07 11:50 小小鸟儿! 阅读(236) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示