会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
myrj
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
95
96
97
98
99
100
101
102
103
···
188
下一页
2022年9月18日
手动修改网络IP
摘要: 修改有线静态IP(固定IP) netsh interface ip set address name= "本地连接" source=static addr=192.168.200.52 mask=255.255.255.0 gateway=192.168.200.1 1 注:name:是有线连接的名
阅读全文
posted @ 2022-09-18 11:20 myrj
阅读(894)
评论(0)
推荐(0)
2022年9月17日
C语言:概念
摘要: auto:编译器在默认的缺省情况下,所有变量都是auto 的 register:register 变量必须是能被CPU 寄存器所接受的类型。意味着register 变量必须是一个单个的值,并且其长度应小于或等于整型的长度。而且register 变量可能不存放在内存中,所以不能用取址运算符“&”来获取
阅读全文
posted @ 2022-09-17 15:17 myrj
阅读(44)
评论(0)
推荐(0)
C语言:不能将一个整型数据赋给一个浮点型指针变量
摘要: 因为指针变量所对应的是地址,而整数是存放在某个地址上的内容。二者不一样
阅读全文
posted @ 2022-09-17 15:09 myrj
阅读(156)
评论(0)
推荐(0)
C语言:结构体地址
摘要: #include <stdio.h> main() { struct student{ char no[7]; char name[8]; int score; }; struct student st1,st2; //printf("%d\n",&student); printf("%d %d %
阅读全文
posted @ 2022-09-17 10:43 myrj
阅读(329)
评论(0)
推荐(0)
C语言 字符与字符串
摘要: 字符标志符:%cA 键盘输入:scanf("%c",&a);B 直接赋值:a='c'; 字符串(由多个字符型数据组成的一串字符)标志:%s为字符串赋值方法:A 字符串初始化:char ab[10]="asdfsdf"B 利用循环为字符数组逐个赋值: for(a=1;a<=10;a++) ab[a]=
阅读全文
posted @ 2022-09-17 07:38 myrj
阅读(136)
评论(0)
推荐(0)
锐捷RG路由器任意修改密码
摘要: RG-EG保留配置的密码恢复 一、组网需求 如果管理员自己忘记了EG设备的web管理密码,无法通过web方式登录,那么此时可通过配置线进入CTRL层进行密码恢复,需要保留之前的配置信息。二.配置要点 1、做密码恢复需要准备好配置线,密码恢复过程中,需要重启设备在CTRL层操作完成。 2、密码恢复过程
阅读全文
posted @ 2022-09-17 07:02 myrj
阅读(2560)
评论(0)
推荐(0)
2022年9月16日
私家车检验政策修改
摘要:
阅读全文
posted @ 2022-09-16 18:44 myrj
阅读(12)
评论(0)
推荐(0)
C语言:求1-100间所有非质数的和
摘要: #include <stdio.h> main() { int sum=0,a,b,c; for(a=1;a<=100;a++) { if(a==1) c=1; else c=0; for(b=2;b<a;b++) { if(a%b==0) { c=1; break; } } if(c==1) {
阅读全文
posted @ 2022-09-16 16:28 myrj
阅读(497)
评论(0)
推荐(0)
2022年9月15日
C语言:结构体单独说明类型时应放在函数外,而变量可在使用它之前的函数外或内定义
摘要: #include <stdio.h> main() { struct stu { int a; int b; }; struct stu ab; printf("%d",ab.a); getchar(); } int abb(struct stu ma) { } 编译时提示: 修改如下: #incl
阅读全文
posted @ 2022-09-15 16:29 myrj
阅读(156)
评论(0)
推荐(0)
C语言:2. 求序列1/2,2/3,3/5,5/8,8/13,13/21……….前20项的和
摘要: #include <stdio.h> main() { int a,c=1; double sum=0,b=1.0,d,e,f; for(a=1;a<=20;a++) { d=b/(b+1); sum=sum+d; b=b+1; printf("%lf,%lf\n",b,d); } printf("
阅读全文
posted @ 2022-09-15 10:39 myrj
阅读(221)
评论(0)
推荐(0)
上一页
1
···
95
96
97
98
99
100
101
102
103
···
188
下一页
公告