![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
语言
wunature2010
这个作者很懒,什么都没留下…
展开
-
Linux下c++遍历文件夹中文件及读取绝对路径
文件读取等操作是程序编写的基础,因此在总结了网上多个博客的基础上,写出了如下读取文件及保存绝对路径的代码片段,整理出来供大家学习 注意,这里dirent.h是只有在Linux下才有的 #include #include "fstream" #include #include #include DIR * dir; struct dirent * ptr;原创 2018-02-05 15:36:18 · 7652 阅读 · 1 评论 -
datetime和time常用于时间统计
参考标准文档: https://docs.python.org/3/library/datetime.html https://docs.python.org/zh-cn/3/library/time.html 参考网页说明: http://gracece.com/2014/10/the-distinction-between-date-and-datetime-in-python/ ...翻译 2019-06-06 11:22:41 · 456 阅读 · 0 评论