windows 在windows下的system函数中命令可以不区别大小写! 功 能: 发出一个DOS命令 #include <stdlib.h> int system(char *command); 执行成功返回0,执行不成功由于不同的操作返回的值不同,可以查手册看 #include<stdio.h> #include<stdlib.h> int main() { printf("About to spawn and run a DOS command\n&…
最近写个Qt demo,想要使用压缩和解压多个文件的功能,并不使用额外进程.网上参考了很多资料,发现只有QuaZip比较适合我的需求.但是QuaZip只提供源码,因此需要自己来编译. QuaZip简介 QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that can be used to access ZIP archives. It uses the Qt toolkit. 简单来说,QuaZip就是…