[quote=引用 20 楼 qq_34210705 的回复:] [quote=引用 18 楼 schlafenhamster 的回复:] 不如 先 搞个类似 登录的 界面
// #define _CRTIMP __declspec(dllimport) _CRTIMP extern int __argc; /* count of cmd line args */ _CRTIMP extern char ** __argv; /* pointer to table of cmd line args */ _CRTIMP extern wchar_t ** __wargv; /* pointer to table of wide cmd line args */
[quote=引用 18 楼 schlafenhamster 的回复:] 不如 先 搞个类似 登录的 界面
不如 先 搞个类似 登录的 界面
说说 用户 使用 过程 ?
3 个 exe ?
还有更基础的 __argc __argv #include <stdlib.h> #include <tchar.h> void CDlg7Dlg::OnButton1() { for(int i=0; i<__argc; i++) { TRACE(_T("arg%d = %s\n"), i, __targv[i]); } }
GetCommandLine
EXE图片是编译链接以后生成的,不能再更改了吧
15,979
社区成员
115,896
社区内容
加载中
试试用AI创作助手写篇文章吧