会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小鲨鱼2018
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
22
23
24
25
26
27
28
29
30
···
403
下一页
2024年12月23日
c语言中输出各种数据类型的长度
摘要: c语言中输出各种数据类型的长度: [root@PC1 test]# ls test.c [root@PC1 test]# cat test.c ## 测试程序 #include <stdio.h> int main(void) { printf("size of char: %u\n", (unsi
阅读全文
posted @ 2024-12-23 13:04 小鲨鱼2018
阅读(32)
评论(0)
推荐(0)
2024年12月21日
C语言中的1U
摘要: 001、 C语言中的1U表示的是无符号整数1,即unsigned int型的 1.
阅读全文
posted @ 2024-12-21 09:51 小鲨鱼2018
阅读(110)
评论(0)
推荐(0)
2024年12月20日
configure: error: curses development files not found
摘要: 001、报错如下: configure: error: curses development files not found 002、rocky9系统 [root@PC1 samtools-1.21]# cat /etc/redhat-release Rocky Linux release 9.4
阅读全文
posted @ 2024-12-20 11:01 小鲨鱼2018
阅读(55)
评论(0)
推荐(0)
2024年12月15日
字节和位
摘要: 001、 位(bit)是计算机内部数据存储的最小单位,即0和1; 而字节(byte)是数据处理的基本单位。 1个字节由8个二进制位(bit)组成,可以存储一个字符或表示0到255之间的数字, 2的8次方。
阅读全文
posted @ 2024-12-15 15:04 小鲨鱼2018
阅读(57)
评论(0)
推荐(0)
C语言中0为假,正数和负数均为真
摘要: 001、 [b20223040323@admin2 test]$ ls test.c [b20223040323@admin2 test]$ cat test.c #include <stdio.h> int main(void) { int i,j,k; ## 三个变量 负数、正数和0 i = -
阅读全文
posted @ 2024-12-15 13:22 小鲨鱼2018
阅读(24)
评论(0)
推荐(0)
C语言中signed和unsigned类型说明符
摘要: 001、signed既可以表示整数也可以表示负数, 若不指定默认为signed; unsigned表示只可以表示0和正数。 signed 表示有符号的; unsigned表示无符号的; C语言中各种数据类型可以存储的值的范围可以通过一下方式进行输出: [root@localhost test]# l
阅读全文
posted @ 2024-12-15 00:27 小鲨鱼2018
阅读(199)
评论(0)
推荐(0)
2024年12月13日
Linux中 strings 命令
摘要: 001、 在Linux系统中,strings命令是一个强大且实用的工具,主要用于从二进制文件中提取可打印的字符序列。这些字符序列通常包括变量名、函数名、注释或任何嵌入的文本信息,对于文件分析和调试具有重要意义 [root@PC1 test]# ls a.txt [root@PC1 test]# ca
阅读全文
posted @ 2024-12-13 15:53 小鲨鱼2018
阅读(172)
评论(0)
推荐(0)
linux中动态链接库环境变量
摘要: Linux中动态链接库环境变量:LD_LIBRARY_PATH 001、 [root@PC1 test]# echo $LD_LIBRARY_PATH 002、 (base) [b20223040323@admin2 test]$ echo $LD_LIBRARY_PATH /public/soft
阅读全文
posted @ 2024-12-13 15:45 小鲨鱼2018
阅读(107)
评论(0)
推荐(0)
linux中查看可执行文件的动态链接库
摘要: 001、ldd命令 [root@PC1 src]# ldd /bin/ls linux-vdso.so.1 (0x00007ffea61ad000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f57e03d4000) libcap.so.2
阅读全文
posted @ 2024-12-13 15:22 小鲨鱼2018
阅读(354)
评论(0)
推荐(0)
Linux 系统中ld命令
摘要: 001、Linux中ld命令是链接命令,其作用是将链接文件(经过编译和汇编后的机器码文件)和库文件整合为可执行文件或者是库文件。 ld(Link eDitor)命令是二进制工具集GNU Binutils的一员,是GNU链接器,用于将目标文件与库链接为可执行文件或库文件。 002、 (base) [r
阅读全文
posted @ 2024-12-13 12:03 小鲨鱼2018
阅读(155)
评论(0)
推荐(0)
上一页
1
···
22
23
24
25
26
27
28
29
30
···
403
下一页
公告