10 2023 档案

摘要://按值 #include <bits/stdc++.h> using namespace std; int sum(int a){ if(a<=2){ return 1; }else{ return sum(a-1)+sum(a-2); } } int main(){ int x,c,d; cin 阅读全文
posted @ 2023-10-29 09:43 fushuxuan1 阅读(12) 评论(0) 推荐(0) 编辑
摘要://按值传递 #include <bits/stdc++.h> using namespace std; /* 自定义函数必须在调用该函数之前声明 声明时可以不写函数体,但在后面需要将函数体补充完整 按值传递的形参与调用函数类型一致 */ int sum(int a,int b){ int n=a+ 阅读全文
posted @ 2023-10-29 09:13 fushuxuan1 阅读(16) 评论(0) 推荐(0) 编辑
摘要:#include <bits/stdc++.h> using namespace std; int main(){ int a=10; int *p;//声明指针 p=&a;//将指针p指向变量a的内存地址 cout<<a<<endl; cout<<p<<endl;//a的内存地址 cout<<*p 阅读全文
posted @ 2023-10-28 09:49 fushuxuan1 阅读(3) 评论(0) 推荐(0) 编辑
摘要:#include <bits/stdc++.h>using namespace std;int a[6],n,sum=0,p,t;void one(){ for(int i=0;i<5;i++){ for(int j=0;j<5-i;j++){ if(a[j]<a[j+1]){ t=a[j]; a[ 阅读全文
posted @ 2023-10-28 09:37 fushuxuan1 阅读(6) 评论(0) 推荐(0) 编辑
摘要:#include <bits/stdc++.h> using namespace std; int main(){ string a; cin>>a; int n=a.size(); if(a[0]=='0'){ cout<<a; }else{ for(int i=1;i<=a.size();i++ 阅读全文
posted @ 2023-10-22 09:45 fushuxuan1 阅读(8) 评论(0) 推荐(0) 编辑
摘要:DOS操作系统 DOS(磁盘操作系统)是早期个人计算机山使用最为广泛地操作系统。Windows系统中仍保留了MS-DOS。 MS-DOS采用模块结构,它由五部分组成:ROM中的BIOS模块,IO.SYS模块,COMMAND.COM模块,MSDOS.SYS模块以及引导程序。DOS常用的内部命令有:命令 阅读全文
posted @ 2023-10-15 08:59 fushuxuan1 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-10-05 09:36 fushuxuan1 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-10-05 09:34 fushuxuan1 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-10-05 09:33 fushuxuan1 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-10-05 09:29 fushuxuan1 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-10-05 09:26 fushuxuan1 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-10-04 09:10 fushuxuan1 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-10-04 09:10 fushuxuan1 阅读(5) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示