[問題] cmd 需要下兩次指令
開發平台(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++這邊的指令要怎麼寫呢?
http://imgur.com/cbB5N7C

程式碼(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");
}
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 59.124.46.66
※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1475738851.A.13A.html
→
10/06 15:32, , 1F
10/06 15:32, 1F
→
10/06 17:51, , 2F
10/06 17:51, 2F
→
10/06 19:29, , 3F
10/06 19:29, 3F
推
10/15 08:07, , 4F
10/15 08:07, 4F
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章