10 2020 档案
摘要:对linux shell命令样式进行美化。 修改前的效果: 修改后的效果: 直接给出.bashrc脚本代码: 1 # ~/.bashrc: executed by bash(1) for non-login shells. 2 # see /usr/share/doc/bash/examples/s
阅读全文
摘要:1、要求说明 例如有个数据为a = 0x10,要求打印输出为0x000010。 2、实现 1 #include <stdio.h> 2 3 4 int main() 5 { 6 int a = 0x10; 7 8 printf("%#08x\n", a); 9 10 return 0; 11 }
阅读全文