首页 > 消费 >

【环球播资讯】c语言shellexecute_shellexecute头文件


(资料图片)

c语言shellexecute,shellexecute头文件这个很多人还不知道,现在让我们一起来看看吧!

1、#include #include #include #include #include  // 声明快照函数的头文件using namespace std;//#pragma comment( linker, "/subsystem:"windows" /entry:"mainCRTStartup"" ) int main(int argc, char* argv[]){ char join[]=""";  char begin[128];  ::GetCurrentDirectory(100,begin);  char end[]="\Maxthon.exe"; strcat(begin,end); strcat(begin,join); strcat(join,begin); ::ShellExecute(NULL,"open",join, NULL,NULL,SW_SHOW );  printf("%s",join);  return 0;} 右键点工程名,选设置,然后选c/c++属性页,再选catagory选单中选 precompiled header ,将选项置成no use 或者autometic。

本文到此分享完毕,希望对大家有所帮助。

关键词:

责任编辑:Rex_21

推荐阅读

焦点精选!nurian x9_nurian

· 2023-04-21 10:43:32

文物说节气|谷雨

· 2023-04-21 09:37:30

关于我们  联系我们  商务合作  诚聘英才  网站地图

Copyright @ 2008-2020 icebox.rexun.cn Corporation, All Rights Reserved

热讯经济网 版权所有 豫ICP备20005723号-6
文章投诉邮箱:2 9 5 9 1 1 5 7 8@qq.com 违法信息举报邮箱:jubao@123777.net.cn

营业执照公示信息