c++
Thirring
跨专业考研ing...
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
google webp格式图片批量转码
google webp格式图片批量转码 下载了大量图片,但是是webp格式。google提供的转码工具只能用dos命令一个个转码。所以写了个批量的。 代码主要涉及: 对文件夹文件遍历 对文件夹所有子目录遍历 #include<iostream> #include<direct.h> #include<io.h> #include<string> #include<process.h> using namespace std; int main(){原创 2020-11-13 16:11:13 · 579 阅读 · 0 评论 -
用递归实现快速排序
用递归实现快速排序 #include<iostream> #include<ctime> #include<cstdlib> using namespace std; int main(){ srand(int (time(0))); int a[100]; for(int i=0;i<100;++i){ a[i]=rand()%99+1; } void use(int a[],int,int); use(a,0,99); for(int i=0;原创 2020-10-09 20:03:47 · 210 阅读 · 0 评论
分享