随笔 - 192,  文章 - 0,  评论 - 2,  阅读 - 25万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
11 2020 档案
ioctl获取本机IP和MAC地址
摘要:#include <net/if.h> #include <sys/ioctl.h> #include <arpa/inet.h> #include <stdlib.h> #include <stdio.h> #define ETH_NAME "ens33" int main() { int soc 阅读全文
posted @ 2020-11-13 11:00 Malphite 阅读(419) 评论(0) 推荐(0) 编辑
VMware Workstation cannot connect to the virtual machine. Make sure you have rights to run the program, access all directories the program uses, and access all directories for temporary files.
摘要:如图 1、我的电脑->管理->服务和应用程序->服务->VMware Authorization Service 状态为空 2、右键单击VMware Authorization Service-> 属性->启动类型->自动 3、右键选择启动,转态变为正在运行后,重新代开虚拟机即可。 阅读全文
posted @ 2020-11-11 14:16 Malphite 阅读(194) 评论(0) 推荐(0) 编辑
汉字编码之GBK编码
摘要:何为GBK,何为GB2312,与区位码有何渊源? 区位码是早些年(1980)中国制定的一个编码标准,如果有玩过小霸王学习机的话,应该会记得有个叫做“区位”的输入法(没记错的话是按F4选择)。就是打四个数字然后就出来汉字了,什么原理呢。请看下面的区位码表,每一个字符都有对应一个编号。其中前两位为“区” 阅读全文
posted @ 2020-11-05 14:31 Malphite 阅读(3460) 评论(0) 推荐(0) 编辑
Unicode 和 UTF-8 有什么区别?
摘要:简单来说: Unicode 是「字符集」 UTF-8 是「编码规则」 其中: 字符集:为每一个「字符」分配一个唯一的 ID(学名为码位 / 码点 / Code Point) 编码规则:将「码位」转换为字节序列的规则(编码/解码 可以理解为 加密/解密 的过程) 广义的 Unicode 是一个标准,定 阅读全文
posted @ 2020-11-05 14:07 Malphite 阅读(202) 评论(0) 推荐(0) 编辑

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