上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: 1 #include <iostream> 2 #include <vector> 3 using namespace std; 4 int main(){ 5 long b; 6 int w; 7 int c=0; 8 vector<int> a; 9 a.push_back(1); 10 cin 阅读全文
posted @ 2024-06-14 19:46 -刘-j-x- 阅读(7) 评论(0) 推荐(0)
摘要: //服务端(以C++作范例) #include"mysocket.h" //导入头文件:由于mysock头文件本身就有其它文件,这里无需导入 using namespace std; SOCKET s_accept; int main() { cout << " 服务端 \n"; cout << " 阅读全文
posted @ 2024-06-08 10:03 -刘-j-x- 阅读(20) 评论(0) 推荐(0)
摘要: //客户端 #include"mysocket.h" //头文件 using namespace std; int main() { cout << " 客户端 \n"; startup(); //启动 //检测版本号 if (LOBYTE(wsdata.wVersion) != 2 || HIBY 阅读全文
posted @ 2024-06-08 10:02 -刘-j-x- 阅读(33) 评论(0) 推荐(0)
摘要: #include <iostream> #include <vector> using namespace std; int main(){ string la,lb; int b,l=0; cin>>la>>b; vector<int> a,cl; for(int i=la.size()-1;i> 阅读全文
posted @ 2024-06-07 20:29 -刘-j-x- 阅读(13) 评论(0) 推荐(0)
摘要: #include <iostream> #include <vector> using namespace std; int main(){ string la,lb; cin>>la>>lb; vector<int> a,cl,b; for(int i=0;i<=la.size();i++){ i 阅读全文
posted @ 2024-06-01 15:55 -刘-j-x- 阅读(9) 评论(0) 推荐(0)
摘要: 1 #include <iostream> 2 #include <vector> 3 using namespace std; 4 int main(){ 5 string la,lb; 6 cin>>la>>lb; 7 vector<int> a,cl,b; 8 for(int i=0;i<=l 阅读全文
posted @ 2024-06-01 15:28 -刘-j-x- 阅读(11) 评论(0) 推荐(0)
摘要: #include <iostream> #include <vector> using namespace std; int main(){ string l; cin>>l; int x=0,c=0; vector<int> a,b; int cl[100]={0}; for(int i=l.si 阅读全文
posted @ 2024-05-31 20:24 -刘-j-x- 阅读(10) 评论(0) 推荐(0)
摘要: #include <iostream> #include <vector> using namespace std; int main(){ int b; string la; cin>>la>>b; vector<int> a,cl; for(int i=0;i<=la.size();i++){ 阅读全文
posted @ 2024-05-25 16:02 -刘-j-x- 阅读(10) 评论(0) 推荐(0)
摘要: #include <iostream> #include <vector> using namespace std; int main(){ long b; int w; string l,lw; cin>>l; int c=0; vector<int> a; for(int i=l.size()- 阅读全文
posted @ 2024-05-25 10:02 -刘-j-x- 阅读(11) 评论(0) 推荐(0)
摘要: #include <iostream> #include <windows.h> #include <conio.h> #include <vector> using namespace std; int main(int argc, char** argv) { HANDLE handle=Get 阅读全文
posted @ 2024-05-24 20:23 -刘-j-x- 阅读(14) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页