会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
LiuYanYGZ
问号 惊叹号
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
24
25
26
27
28
29
30
31
32
···
126
下一页
2021年6月19日
C++中基类的析构函数为什么要用virtual虚析构函数
摘要: 摘自:https://blog.csdn.net/yhc166188/article/details/81587442 大家知道,析构函数是为了在对象不被使用之后释放它的资源,虚函数是为了实现多态。那么把析构函数声明为vitual有什么作用呢? 直接的讲,C++中基类采用virtual虚析构函数是为
阅读全文
posted @ 2021-06-19 02:55 LiuYanYGZ
阅读(180)
评论(0)
推荐(0)
2021年6月18日
像linux ls命令一样优雅地打印
摘要: 1 #define _GNU_SOURCE 2 3 #include <stdio.h> 4 #include <string.h> 5 #include <stdlib.h> 6 #include <errno.h> 7 #include <unistd.h> 8 9 #define TEST_T
阅读全文
posted @ 2021-06-18 21:18 LiuYanYGZ
阅读(122)
评论(0)
推荐(0)
2021年6月11日
【Linux】- 六个超赞的字符画生成器
摘要: 参考:https://linux.cn/article-3405-1.html 摘自:https://www.cnblogs.com/wangwust/p/10082237.html 参考:http://patorjk.com/software/taag/#p=display&f=Graffiti&
阅读全文
posted @ 2021-06-11 15:01 LiuYanYGZ
阅读(1052)
评论(0)
推荐(0)
linux欢迎界面 /etc/motd
摘要: ┌───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┐ │Esc│ │ F1│ F2│ F3│ F4│ │ F5│ F6│ F7│ F8│ │ F9│F10│F11│F12│ │P/S│S L│P/B│ ┌┐
阅读全文
posted @ 2021-06-11 14:44 LiuYanYGZ
阅读(338)
评论(0)
推荐(0)
2021年6月2日
Linux 的 FIGlet 指令产生 ASCII Art 大型文字教学
摘要: 摘自:https://blog.gtwang.org/linux/figlet-command-ascii-art-text-tutorial/ 安裝 FIGlet 若在 Debian 或 Ubuntu Linux 中,可以使用 apt 安裝 FIGlet 這個工具: sudo apt-get in
阅读全文
posted @ 2021-06-02 11:22 LiuYanYGZ
阅读(236)
评论(0)
推荐(0)
趣玩 Linux:四个生成字符图案(字符画)的命令
摘要: 摘自:https://www.jeddd.com/article/linux-fancy-text-generator.html 摘自:https://blog.csdn.net/kaimo313/article/details/110632566 参考figlet官网:http://www.fig
阅读全文
posted @ 2021-06-02 11:16 LiuYanYGZ
阅读(4201)
评论(0)
推荐(0)
Linux登陆图形,佛祖保佑
摘要: 摘自:https://blog.csdn.net/weixin_34088598/article/details/93098137vi /etc/motd 图形1 _oo0oo_ 088888880 88" . "88 (| -_- |) 0\ = /0 ___/' '\___ .' \\\\| |
阅读全文
posted @ 2021-06-02 10:17 LiuYanYGZ
阅读(396)
评论(0)
推荐(0)
2021年5月27日
案例参考手册-第四章 Curses字符界面.docx
摘要: 摘自:https://max.book118.com/html/2016/1229/78155438.shtm 摘自:https://www.docin.com/p-1290752854.html 摘自:http://www.doc88.com/p-4337729364386.html 摘自:htt
阅读全文
posted @ 2021-05-27 17:36 LiuYanYGZ
阅读(258)
评论(0)
推荐(0)
读取键盘输入流改为原始模式
摘要: 摘自 http://github.com/antirez/linenoise 键盘的Ctrl+A ... Ctrl+Z 对应 ASCII的 1 .. 26 唯有Ctrl+M 不是13 13是Enter Ctrl+I 和 Tap 都是9 27是Esc 下面来验证一下 #include <stdio.h
阅读全文
posted @ 2021-05-27 11:10 LiuYanYGZ
阅读(121)
评论(0)
推荐(0)
2021年5月26日
centos 7配置系统调度isolcpus(软中断绑定)
摘要: 摘自:http://www.voidcn.com/article/p-evfjwiae-bnv.html 使用isolcpus减少上下文切换。为了减少上下文切换的可能性,需要提示内核,禁止将其他用户空间任务调度到DPDK应用线程所在核。isolcpus Linux内核参数用于此目的。例如,如果DPD
阅读全文
posted @ 2021-05-26 15:03 LiuYanYGZ
阅读(1678)
评论(0)
推荐(0)
上一页
1
···
24
25
26
27
28
29
30
31
32
···
126
下一页
公告