会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Malphite
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
公告
上一页
1
2
3
4
5
6
7
8
···
19
下一页
2020年12月22日
MFC 配置附加目录
摘要: 使用MFC有时候会用到依赖库,为了更好的显示代码结构通常需要建立新的文件夹来保存所依赖的文件对于新手来说配置编译环境是最恼火的事情 下面就简单说下静态库依赖环境的配置 第一步: 配置依赖头文件路径如图所示 黑色部分为文件夹名称 $(MSBuildProjectDirectory)\文件夹名称\inc
阅读全文
posted @ 2020-12-22 16:59 Malphite
阅读(411)
评论(0)
推荐(0)
2020年11月13日
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
阅读(443)
评论(0)
推荐(0)
2020年11月11日
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
阅读(202)
评论(0)
推荐(0)
2020年11月5日
汉字编码之GBK编码
摘要: 何为GBK,何为GB2312,与区位码有何渊源? 区位码是早些年(1980)中国制定的一个编码标准,如果有玩过小霸王学习机的话,应该会记得有个叫做“区位”的输入法(没记错的话是按F4选择)。就是打四个数字然后就出来汉字了,什么原理呢。请看下面的区位码表,每一个字符都有对应一个编号。其中前两位为“区”
阅读全文
posted @ 2020-11-05 14:31 Malphite
阅读(3684)
评论(0)
推荐(0)
Unicode 和 UTF-8 有什么区别?
摘要: 简单来说: Unicode 是「字符集」 UTF-8 是「编码规则」 其中: 字符集:为每一个「字符」分配一个唯一的 ID(学名为码位 / 码点 / Code Point) 编码规则:将「码位」转换为字节序列的规则(编码/解码 可以理解为 加密/解密 的过程) 广义的 Unicode 是一个标准,定
阅读全文
posted @ 2020-11-05 14:07 Malphite
阅读(223)
评论(0)
推荐(0)
2020年10月29日
Ubuntu Server16.04 开机A start job is running for Raise network interface(5min 1s)
摘要: 1、sudo vi /etc/systemd/system/network-online.target.wants/networking.service 2、修改TimeoutStartSec=5min 为TimeoutStartSec=2sec 3、重启即可
阅读全文
posted @ 2020-10-29 14:17 Malphite
阅读(356)
评论(0)
推荐(0)
2020年10月14日
error C4996: 'wcscpy': This function or variable may be unsafe.
摘要: 解决方案 项目 ->属性 -> c/c++ -> 预处理器 -> 预处理器定义,加入 _CRT_SECURE_NO_WARNINGS,即可。 Deprecated function Security-enhanced replacement _alloca _malloca asctime asct
阅读全文
posted @ 2020-10-14 14:01 Malphite
阅读(2039)
评论(0)
推荐(0)
2020年7月29日
linux shell命令编写技巧
摘要: shell 将命令执行的结果作为另外一个命令的参数 cmd3 $(cmd2 $(cmd1)) 以上命令的作用是:将cmd1的执行结果作为cmd2的参数,将cmd2执行结果作为cmd3的参数 例如:md5sum $(find . -name *.pacp) shell 将命令执行的输出最为另外一个的输
阅读全文
posted @ 2020-07-29 09:51 Malphite
阅读(212)
评论(0)
推荐(0)
2020年4月20日
map文件
摘要: https://www.cnblogs.com/gaotaozhaolei/archive/2008/02/02/1062155.html
阅读全文
posted @ 2020-04-20 08:33 Malphite
阅读(220)
评论(0)
推荐(0)
2020年4月10日
获取Linux的cpu占用率和 mem使用情况
摘要: 参考:https://www.cnblogs.com/earvin/articles/11441366.html
阅读全文
posted @ 2020-04-10 15:01 Malphite
阅读(424)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
19
下一页