张赐荣——一位视障程序员。
赐荣小站: www.prc.cx

張賜榮

张赐荣的技术博客

博客园 首页 新随笔 联系 订阅 管理

2022年3月21日 #

摘要: C语言多级指针 (指向指针的指针) #include <stdio.h> int main(void) { int i = 100,j = 200; int *p; int **q; int ***l; p = &i; q = &p; l = &q; printf("%d\n%d\n%d\n%d\n 阅读全文
posted @ 2022-03-21 15:58 张赐荣 阅读(24) 评论(0) 推荐(0) 编辑

摘要: C语言 enum 枚举常量 #include <stdio.h> enum WeekDay { MonDay,TuesDay,WednesDay = 5,ThursDay,FriDay,SaturDay,SunDay }; int main(void) { enum WeekDay Day = Fr 阅读全文
posted @ 2022-03-21 15:56 张赐荣 阅读(53) 评论(0) 推荐(0) 编辑

摘要: C语言共用体 union #include <stdio.h> union U1 { unsigned char c [3];unsigned int i; }; union U2 { char c[15]; int i; }; int main(void) { union U1 u1; union 阅读全文
posted @ 2022-03-21 15:52 张赐荣 阅读(179) 评论(0) 推荐(0) 编辑

摘要: C语言使用指针指向结构体 #include <stdio.h> struct Student { char name; int age; }; int main(void) { struct Student a,*p; p = &a; p->name = 'a'; p->age = 12; prin 阅读全文
posted @ 2022-03-21 15:49 张赐荣 阅读(44) 评论(0) 推荐(0) 编辑

摘要: C语言结构体类型 #include <stdio.h> struct Student { char name; int age; }; int main(void) { struct Student a = {'a',12};; printf("name:%c\nage:%d\n",a.name,a 阅读全文
posted @ 2022-03-21 15:43 张赐荣 阅读(47) 评论(0) 推荐(0) 编辑

摘要: C语言前自增自减(c、--c)和后自增自减(c、c--)的区别? #include <stdio.h> int main(void) { int i = 5; i++; printf("%d\n",i); printf("%d\n",i++); printf("%d\n",i); printf("% 阅读全文
posted @ 2022-03-21 15:40 张赐荣 阅读(164) 评论(0) 推荐(0) 编辑

摘要: C语言基本数据类型的意义,如何灵活运用? #include <stdio.h> int main(void) { int i = 1094795585; //该值占四个字节,每个字节都是十进制的六十五 char *p = (char *)&i; printf("%d\n%d\n%d\n%d\n",p 阅读全文
posted @ 2022-03-21 15:35 张赐荣 阅读(106) 评论(0) 推荐(0) 编辑

摘要: 键盘 键盘是计算机的主要输入设备之一,中文汉字、英文字母、数字以及标点符号就是通过键盘输入计算机的。不同的击键和击键序列代表了您将要计算机准备执行的不同命令,我们只要通过敲击键盘上面的不同键位,输入不同的指令,计算机就会根据你的指令去完成各项工作。键盘的款式有很多种,我们通常使用的有101键、104 阅读全文
posted @ 2022-03-21 10:16 张赐荣 阅读(4533) 评论(0) 推荐(0) 编辑

2022年3月19日 #

摘要: Windows 常用标准控件介绍 1.窗口框架(Window),它是屏幕上与一个应用程序相对应的矩形区域,包括框架和客户区,是用户与产生该窗口的应用程序之间的可视界面,它通常包含子对象,例如,窗口中通常包含的标题栏、菜单栏、客户端和其他对象 2.对话框(Dialog),对话框或消息框,属于特殊的窗口 阅读全文
posted @ 2022-03-19 21:22 张赐荣 阅读(1263) 评论(0) 推荐(0) 编辑

2022年2月26日 #

摘要: 源文: https://qt06.com/ 用BAT一键开启卓越性能电源计划方案 “卓越性能”是一项新的电源计划,仅在 Windows 10 Pro for Workstation 操作系统中可用。从卓越性能(Ultimate Performance)字面上就不难看出其存在的意义。该电源计划选项旨在 阅读全文
posted @ 2022-02-26 10:11 张赐荣 阅读(786) 评论(0) 推荐(0) 编辑

感谢访问张赐荣的技术分享博客!
博客地址:https://cnblogs.com/netlog/
知乎主页:https://www.zhihu.com/people/tzujung-chang
个人网站:https://prc.cx/