Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/152.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Can';t在C+中启动网站+; 试图在Visual C++ 2010 Express中推出一个网站,每个研究的解决方案都没有用过。所以我想我需要更深入的帮助。这是我的密码: #include <stdafx.h> #include <stdio.h> #include <iostream> #include <io.h> #include <string> #include <string.h> #include <conio.h> #include <windows.h> using namespace System; using namespace std; int main() { char name[240]; cout<<"\nHello, Please enter your name: "; cin.getline(name,240); cout<<"\nHello "<<name <<", your ID has been confirmed!"; cout<<"\nContinuing to launch website 'xyz' now."; // system("C:\\Program%Files\\Google\\Chrome\\Application\\chrome.exe"); ShellExecute, TEXT("open"), TEXT(c:\\program files\\google\\chrome\\application\\chrome.exe), NULL, NULL, SW_SHOWNORMAL; goto end; end: cout<<"\n\nProgram completed, Pess any key to exit. "; _getch(); return 0; } #包括 #包括 #包括 #包括 #包括 #包括 #包括 #包括 使用名称空间系统; 使用名称空间std; int main() { 字符名[240]; 不能像这样 ShellExecute(NULL, TEXT("open"), TEXT("c:\\program files\\google\\chrome\\application\\chrome.exe"), NULL, NULL, SW_SHOWNORMAL);_C++ - Fatal编程技术网

Can';t在C+中启动网站+; 试图在Visual C++ 2010 Express中推出一个网站,每个研究的解决方案都没有用过。所以我想我需要更深入的帮助。这是我的密码: #include <stdafx.h> #include <stdio.h> #include <iostream> #include <io.h> #include <string> #include <string.h> #include <conio.h> #include <windows.h> using namespace System; using namespace std; int main() { char name[240]; cout<<"\nHello, Please enter your name: "; cin.getline(name,240); cout<<"\nHello "<<name <<", your ID has been confirmed!"; cout<<"\nContinuing to launch website 'xyz' now."; // system("C:\\Program%Files\\Google\\Chrome\\Application\\chrome.exe"); ShellExecute, TEXT("open"), TEXT(c:\\program files\\google\\chrome\\application\\chrome.exe), NULL, NULL, SW_SHOWNORMAL; goto end; end: cout<<"\n\nProgram completed, Pess any key to exit. "; _getch(); return 0; } #包括 #包括 #包括 #包括 #包括 #包括 #包括 #包括 使用名称空间系统; 使用名称空间std; int main() { 字符名[240]; 不能像这样 ShellExecute(NULL, TEXT("open"), TEXT("c:\\program files\\google\\chrome\\application\\chrome.exe"), NULL, NULL, SW_SHOWNORMAL);

Can';t在C+中启动网站+; 试图在Visual C++ 2010 Express中推出一个网站,每个研究的解决方案都没有用过。所以我想我需要更深入的帮助。这是我的密码: #include <stdafx.h> #include <stdio.h> #include <iostream> #include <io.h> #include <string> #include <string.h> #include <conio.h> #include <windows.h> using namespace System; using namespace std; int main() { char name[240]; cout<<"\nHello, Please enter your name: "; cin.getline(name,240); cout<<"\nHello "<<name <<", your ID has been confirmed!"; cout<<"\nContinuing to launch website 'xyz' now."; // system("C:\\Program%Files\\Google\\Chrome\\Application\\chrome.exe"); ShellExecute, TEXT("open"), TEXT(c:\\program files\\google\\chrome\\application\\chrome.exe), NULL, NULL, SW_SHOWNORMAL; goto end; end: cout<<"\n\nProgram completed, Pess any key to exit. "; _getch(); return 0; } #包括 #包括 #包括 #包括 #包括 #包括 #包括 #包括 使用名称空间系统; 使用名称空间std; int main() { 字符名[240]; 不能像这样 ShellExecute(NULL, TEXT("open"), TEXT("c:\\program files\\google\\chrome\\application\\chrome.exe"), NULL, NULL, SW_SHOWNORMAL);,c++,C++,路径中缺少paren、双引号以及“程序”和“文件”之间很可能存在虚假字符。您还缺少要执行的参数 阅读一本书和学习一个最小的C++语法是个好主意。这些都是非常基本的错误。 system("\"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\" http://heise.de"); 对我有用。 请参见欢迎来到SO,从阅读开始是本论坛的良好开端,因为它有很多好的建议。:)你需要说出“不起作用”的意思……但请检查你的文本

路径中缺少paren、双引号以及“程序”和“文件”之间很可能存在虚假字符。您还缺少要执行的参数

阅读一本书和学习一个最小的C++语法是个好主意。这些都是非常基本的错误。
system("\"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\" http://heise.de");
对我有用。
请参见

欢迎来到SO,从阅读开始是本论坛的良好开端,因为它有很多好的建议。:)你需要说出“不起作用”的意思……但请检查你的文本宏中的引用。。