该文被密码保护。 阅读全文
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 郭立恒 阅读(8) 评论(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 郭立恒 阅读(14) 评论(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 郭立恒 阅读(28) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-11-03 19:43 郭立恒 阅读(6) 评论(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 郭立恒 阅读(9) 评论(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 郭立恒 阅读(67) 评论(0) 推荐(0)
摘要: 3.5 原码,反码,补码在二进制的编码过程中分为原码,反码,补码。原码是计算机对数字二进制定点表示方法。原码表示法在数值前面增加了符号位(即最高位为符号位):0代表正,1代表负。原码在计算机内部不能直接进行计算。反码是数值存储的一种,多应用于系统环境设置。补码是计算机中数字存储的常用形式。原码和反码 阅读全文
posted @ 2023-10-05 09:48 郭立恒 阅读(113) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-10-04 09:13 郭立恒 阅读(13) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; void ss(int a,int b){ if(a<=9){ if(b<=a){ cout<<a<<" x "<<b<<" = "<<a*b<<" "; ss(a,b+1); }else{ cout<<endl; s 阅读全文
posted @ 2023-09-03 08:41 郭立恒 阅读(18) 评论(0) 推荐(0)