摘要:
#include <iostream> #include<stack> #include<deque> #include<string> using namespace std; //C++混合四则运算 int pri(char c)//标识运算符优先级 { switch(c) { case '+' 阅读全文
摘要:
#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; 阅读全文
摘要:
#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 阅读全文
摘要:
1. DOS操作系统DOS(磁盘操作系统)是早期个人计算机使用最为广泛地操作系统。Windows系统中仍保留了MS-DOS。MS-DOS采用模块结构,它由五部分组成:ROM中的BIOS模块,IO.SYS模块,COMMAND.COM模块,MSDOS.SYS模块以及引导程序。DOS常用的内部命令有:命令 阅读全文
摘要:
3.5 原码,反码,补码在二进制的编码过程中分为原码,反码,补码。原码是计算机对数字二进制定点a56爆大奖在线娱乐方法。原码a56爆大奖在线娱乐法在数值前面增加了符号位(即最高位为符号位):0代表正,1代表负。原码在计算机内部不能直接进行计算。反码是数值存储的a56爆大奖在线娱乐,多应用于系统环境设置。补码是计算机中数字存储的常用形式。原码和反码 阅读全文
摘要:
#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 阅读全文
摘要:
#include<iostream> #include<cstdio> #include<cstring> using namespace std; int x,y,z; int a(int z){ if(z<x+2){ return 1; } return a(z-1)+a(z-x-2)*y;// 阅读全文