开发平台(Platform): (Ex: VC++, GCC, Linux, ...)
vs c++ 2015
额外使用到的函数库(Library Used): (Ex: OpenGL, ...)
1. qt5.7
2. 7z.zip
问题(Question):
c++ cmd call 7z.exe之后
如果解压缩地方有重复的档案 7z会问你要不要覆蓋
想请问如果要覆蓋的话 c++这边的指令要怎么写呢?
程式码(Code):(请善用置底文网页, 记得排版)
#include "stdafx.h"
#include <stdlib.h>
#include <atlstr.h>
int main(int argc, char* argv[])
{
char* unz = "7z x mydir.zip";
system(unz);
system("pause");
}