![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
Z_baobao
这个作者很懒,什么都没留下…
展开
-
C++ 迪杰斯特拉算法相关编程题
迪杰斯特拉算法相关C++编程题原创 2022-07-03 00:32:56 · 240 阅读 · 1 评论 -
C++字符串模式匹配问题
C++字符串模式匹配原创 2022-06-30 15:52:06 · 730 阅读 · 0 评论 -
C++, N进制转十进制,十进制转N进制
C++, N进制转十进制,十进制转N进制原创 2022-06-30 09:38:51 · 1292 阅读 · 0 评论 -
const指针和指向常量的指针
const指针和指向常量的指针先看下面六种写法:复制代码const int p;const int *p;int const* p;int * const p;const int * const p;int const * const p;复制代码那么我们应该怎么区分上面的写法到底是指向常量的指针还是const指针(表示指针本身是常量)呢?一个简便...转载 2019-09-06 09:31:03 · 230 阅读 · 0 评论 -
Linux C 读取文件夹下所有文件(包括子文件夹)的文件名
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <dirent.h>#include <unistd.h>int readFileList(char *basePath){ DIR *dir; struct dirent *ptr...转载 2019-10-08 19:46:45 · 301 阅读 · 0 评论 -
Linux C 读取文件目录下的目录,并统计各目录下的文件数和目录数
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <dirent.h>#include <unistd.h>int readFileList(char *basePath,int *count_dir,int *count_file){ ...原创 2019-10-08 21:22:20 · 637 阅读 · 0 评论