#include <tchar.h>
#include <Windows.h>
#include <iostream>
using namespace std;
int main()
{
char w[101];
string web;
cin >> web; //输入网址
for (int i = 0; i < web.length(); i++)
{
w[i] = web[i];
}
ShellExecute(NULL, _T("open"), _T(w), NULL, NULL, SW_SHOWNORMAL);
return 0;
}
devc++打开网页
最新推荐文章于 2023-07-11 22:22:56 发布