上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: #include"mysocket.h" using namespace std; int main() { cout << " 客户端 \n"; startup(); //启动 //检测版本号 if (LOBYTE(wsdata.wVersion) != 2 || HIBYTE(wsdata.wH 阅读全文
posted @ 2024-09-07 09:36 hanxuyao 阅读(40) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> #include <fstream> using namespace std; int main() { freopen("a.txt","r",stdin); freopen("b.txt","w",stdout); string s; cin>> 阅读全文
posted @ 2024-07-29 15:02 hanxuyao 阅读(11) 评论(0) 推荐(0)
摘要: 1 #include <bits/stdc++.h> 2 using namespace std; 3 int jc(int a) 4 { 5 if(a<=2) 6 { 7 return a; 8 } 9 return jc(a-1)*a; 10 } 11 12 int jch(int a) 13 阅读全文
posted @ 2024-07-10 15:57 hanxuyao 阅读(12) 评论(0) 推荐(0)
摘要: /*#include <bits/stdc++.h> using namespace std; int main() { int n,sum=1; cin >> n; int a=n; for(int i=n-1;i>0;i--) { a=a*i; } cout<<a; return 0; }*/ 阅读全文
posted @ 2024-07-10 15:39 hanxuyao 阅读(39) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. 阅读全文
posted @ 2024-06-22 15:16 hanxuyao 阅读(9) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> #include <windows.h> #include <conio.h> //控制台输入输出文件 using namespace std; int main() { HANDLE handle =GetStdHandle(STD_OUTPUT_ 阅读全文
posted @ 2024-05-24 20:27 hanxuyao 阅读(11) 评论(0) 推荐(0)
摘要: 1. DWORD dwExStyle //窗口的扩展风格(加强版专有)指定扩展的窗口样式。为以下值中的一个或多个(devc++用“|”连接):WS_EX_ACCEPTFILES 指定此样式创建一个窗口接受拖放文件。WS_EX_APPWINDOW 当窗口可见时布置一个顶级窗口到任务栏上。WS_EX_C 阅读全文
posted @ 2024-05-04 15:49 hanxuyao 阅读(465) 评论(2) 推荐(1)
摘要: #include <windows.h> //回调函数,消息处理函数 LRESULT CALLBACK WndProc(HWND hwnd, //窗口句柄 UINT Message,//消息 WPARAM wParam,//消息参数 LPARAM lParam) {//消息参数 switch(Mes 阅读全文
posted @ 2024-05-04 15:33 hanxuyao 阅读(11) 评论(0) 推荐(0)
摘要: //找一个数,大的移到右边,小的移到左边 #include <iostream> using namespace std; void b(n[5],i,j){ if(i<j) { int l=i,r=j; int m=a[i]; while(l!=r){ while((m<=a[r])&&(l!=r 阅读全文
posted @ 2024-04-20 14:55 hanxuyao 阅读(52) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> #include <windows.h> #include <conio.h> //控制台输入输出文件 using namespace std; int main() { HANDLE handle =GetStdHandle(STD_OUTPUT_ 阅读全文
posted @ 2024-04-13 15:14 hanxuyao 阅读(19) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 8 下一页