摘要: //#include <iostream> //#include <list> //using namespace std; //int main(){ // list<int> a = {1,2,3}; // list<int> b = {4,5,6}; // list<int>::iterato 阅读全文
posted @ 2024-01-05 19:47 郭立恒 阅读(21) 评论(0) 推荐(0)
摘要: #include<iostream> #include<vector> using namespace std; struct student{ int id;//学号 string name;//名字 int age;//年龄 int grade;//班级 }s; void xitong(){ c 阅读全文
posted @ 2023-12-16 09:53 郭立恒 阅读(32) 评论(0) 推荐(0)
摘要: #include <iostream> #include <windows.h> using namespace std; /*声明变量 */ HWND hand=NULL; //游戏窗口 DWORD pid=0;//游戏进程ID HANDLE hProcess=NULL;//进程对象 DWORD 阅读全文
posted @ 2023-12-15 20:03 郭立恒 阅读(218) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2023-12-01 20:03 郭立恒 阅读(0) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; //第一维长度为t void p1(int a[][5],int t){ cout<<"第一种调用方式:"<<endl; for(int i=0;i<t;i++){ for(int j=0;j<5;j++){ cout< 阅读全文
posted @ 2023-11-18 09:00 郭立恒 阅读(15) 评论(0) 推荐(0)
摘要: #include <iostream> #include<stack> #include<deque> #include<string> using namespace std; //C++混合四则运算 int pri(char c)//标识运算符优先级 { switch(c) { case '+' 阅读全文
posted @ 2023-11-11 09:50 郭立恒 阅读(21) 评论(0) 推荐(0)
摘要: #include <iostream> #include <iomanip> using namespace std; int row=16; int col=16; bool black=true; int all[17][17]; void F5(){ for(int ii=0;ii<=col; 阅读全文
posted @ 2023-11-05 08:54 郭立恒 阅读(36) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-11-03 19:43 郭立恒 阅读(9) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main(){ int a=10; //声明指针 p int *p; //讲指针p指向变量a的内存地址 p=&a; cout<<"a的值="<<a<<endl; cout<<"a的内存地址="<<p<<endl 阅读全文
posted @ 2023-10-28 09:51 郭立恒 阅读(15) 评论(0) 推荐(0)
摘要: 1. DOS操作系统DOS(磁盘操作系统)是早期个人计算机使用最为广泛地操作系统。Windows系统中仍保留了MS-DOS。MS-DOS采用模块结构,它由五部分组成:ROM中的BIOS模块,IO.SYS模块,COMMAND.COM模块,MSDOS.SYS模块以及引导程序。DOS常用的内部命令有:命令 阅读全文
posted @ 2023-10-15 08:48 郭立恒 阅读(74) 评论(0) 推荐(0)