摘要:
3. 常用STL的使用 3.1. string (1)string类的实现(使用strlen、strcpy、strcat、strcmp等,注意判NULL)。 (2)C++字符串和C字符串的转换:data()以字符形式返回字符串内容,但不添加’\0\;c_str()返回一个以’\0’结尾的字符数组;c 阅读全文
posted @ 2017-08-09 17:09
小 楼 一 夜 听 春 雨
阅读(1514)
评论(0)
推荐(0)
摘要:
stat, fstat and lstat是用来检查文件属性的。他们将文件属性信息通过a struct stat object 返回。 int stat (const char *filename, struct stat *buf) [Function]The stat function retu 阅读全文
posted @ 2017-08-09 14:20
小 楼 一 夜 听 春 雨
阅读(2399)
评论(0)
推荐(0)

浙公网安备 33010602011771号