跳到正文

个人记录

简陋的网页浏览器(还是360好用)

2023z约 1 分钟
原文
文章信息与版本

文章信息

发布
2024年7月26日
收录
2026年10月6日
更新
2026年11月14日
篇幅
约 1 分钟

版本

  1. v1当前
C++
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int main(){
	string s;
	while(true){
		cout<<"网页浏览器,输入一个网址:";
		cin>>s;
		const string url=s;
    	system(("start "+string(url)).c_str());
	}
	return 0;
}
原文