谁能用c++写完这个程序

许书陌不会C 发表于 2023-11-27 20:38:33
写了一个十分小(弱)巧(智)的单词查询工具

有没有大佬让它能直接访问网站


#include <iostream>
#include<stdlib.h>
using namespace std;
int main()
{
string a = "https://", b = "&from=en&to=zh-Hans", c, d = "translator/?ref=TThis&text=", e = "cn.bing.com/", f, g = "start ",h;

cout<<"英语单词查询辅助工具version1.14by.xushumo"<<endl;
cin>>c;
f = g+a + e + d + c + b;
cout << a <<e<< d <<c<< b<<endl;
system("PAUSE");
}


jyssysz 发表于 2023-11-27 21:50:22
编程接龙?
有挑战!!
AkiPolaris 发表于 2023-11-29 17:05:06
您完全不用网络库是吗(
那我建议你还是用用Python吧,那个好写一些……
许书陌不会C 发表于 2023-11-30 09:49:36
AkiPolaris 发表于 2023-11-29 17:05
您完全不用网络库是吗(
那我建议你还是用用Python吧,那个好写一些……

用python好写,但是我想用C++写
爱电脑的昕宇 发表于 2023-11-30 15:47:06
许书陌不会C 发表于 2023-11-30 18:47:15
吧我在网页上截的图,谁能用bs4爬下来
来源: 萝卜头IT论坛 查看完整版本