上一页 1 2 3 4 5 6 7 8 ··· 18 下一页
摘要: 1. DWORD dwExStyle //窗口的扩展风格(加强版专有)指定扩展的窗口样式。为以下值中的一个或多个(devc++用“|”连接):WS_EX_ACCEPTFILES 指定此样式创建一个窗口接受拖放文件。WS_EX_APPWINDOW 当窗口可见时布置一个顶级窗口到任务栏上。WS_EX_C 阅读全文
posted @ 2024-05-04 15:48 fushuxuan1 阅读(22) 评论(0) 推荐(0)
摘要: #include <windows.h> //创建窗口程序的步骤: //1.创建winMain()主函数 //2.设计窗口 //3.注册窗口 //4.创建窗口 //5.显示窗口 LRESULT CALLBACK WndProc(HWND hwnd, UINT Message,//消息 WPARAM 阅读全文
posted @ 2024-05-04 15:19 fushuxuan1 阅读(18) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> #include <windows.h> int main(int argc, char** argv){ int a=10; if(MessageBox(NULL,"你在心中想个数字,我来猜","是or不是游戏",MB_OK)==IDOK){ if 阅读全文
posted @ 2024-05-04 10:01 fushuxuan1 阅读(19) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> #include<windows.h> using namespace std; int main() { MessageBox(NULL,"你好,这是一个提示信息框","信息框",MB_OK); MessageBox(NULL,"你好,这是一个提示信 阅读全文
posted @ 2024-05-04 09:21 fushuxuan1 阅读(14) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> #include <windows.h> #include <conio.h>//控制台输入输出头文件 using namespace std; int main(){ HANDLE handle=GetStdHandle(STD_OUTPUT_HA 阅读全文
posted @ 2024-04-20 15:59 fushuxuan1 阅读(21) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int n[]={6,3,5,8,9,10,7,34,89,2}; //一般将第一个数作为基准数,根据基准数将数据分为两部分,大的在右,小的在左 //找准位置后,进入左排序递归,右排序递归 ,重复以上操作 void k 阅读全文
posted @ 2024-04-20 09:51 fushuxuan1 阅读(11) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; int main(){ string a="liuyixing"; for(double i=9;i>1;){ i=round(i/2); for(int j=0;j+i<9;j++){ if(a[j]>a[ 阅读全文
posted @ 2024-04-20 09:15 fushuxuan1 阅读(21) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> #include <windows.h> #include <conio.h>//控制台输入输出头文件 using namespace std; int main(){ HANDLE handle=GetStdHandle(STD_OUTPUT_HA 阅读全文
posted @ 2024-04-13 15:52 fushuxuan1 阅读(16) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> #include <windows.h> #include <conio.h>//控制台输入输出头文件 using namespace std; int main(){ HANDLE handle=GetStdHandle(STD_OUTPUT_HA 阅读全文
posted @ 2024-04-13 15:08 fushuxuan1 阅读(21) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; int main(){ int x,p1=0,p2=0,p3=0; cin>>x; p1=x/4; switch(x%4){ case 1:p1--;p2++;break; case 2:p1--;p3++; 阅读全文
posted @ 2024-04-13 14:32 fushuxuan1 阅读(19) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 18 下一页