随笔分类 -  C

浮点数的2进制表示
摘要:参考: https://blog.csdn.net/fwb330198372/article/details/70238982?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2~defaul 阅读全文

posted @ 2024-09-23 15:00 lh03061238 阅读(17) 评论(0) 推荐(0) 编辑

C语言有符号数和无符号数的左移和右移
摘要:参考:https://blog.csdn.net/xiaohuihui1994/article/details/110498343?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~ 阅读全文

posted @ 2022-12-30 15:22 lh03061238 阅读(38) 评论(0) 推荐(0) 编辑

三种负数求补码方法
摘要:https://blog.csdn.net/q495745324/article/details/125462067 阅读全文

posted @ 2022-12-08 09:05 lh03061238 阅读(135) 评论(0) 推荐(0) 编辑

C语言中 # 和##的用法
摘要:https://www.cnblogs.com/wanmeishenghuo/p/9537642.html https://blog.csdn.net/HardessGod/article/details/121643171 https://blog.csdn.net/weixin_43704402 阅读全文

posted @ 2022-11-09 14:26 lh03061238 阅读(146) 评论(0) 推荐(0) 编辑

操作数栈
摘要:操作数栈(Operand Stack) https://www.jianshu.com/p/c0f267ff3a2d 操作数栈(Operand Stack) https://blog.csdn.net/z318913/article/details/123004876?utm_medium=dist 阅读全文

posted @ 2022-08-06 15:54 lh03061238 阅读(25) 评论(0) 推荐(0) 编辑

setjmp.h 文件解析与使用
摘要:参考: setjmp.h 文件详解 https://my.oschina.net/wxwHome/blog/51311 C 标准库 - <setjmp.h> https://blog.csdn.net/qq_38131668/article/details/78662137 setjmp和longj 阅读全文

posted @ 2022-06-07 10:09 lh03061238 阅读(57) 评论(0) 推荐(0) 编辑

程序中的.dll .lib .def 和 .exp文件
摘要:程序中出现的.dll .lib .def 和 .exp文件 https://www.csdn.net/tags/NtzaggzsMTU3NTItYmxvZwO0O0OO0O0O.html 阅读全文

posted @ 2022-05-30 10:39 lh03061238 阅读(133) 评论(0) 推荐(0) 编辑

符号位扩展
摘要:在C中从24位到32位的有符号扩展 https://www.icode9.com/content-4-481282.html 阅读全文

posted @ 2022-05-19 15:50 lh03061238 阅读(21) 评论(0) 推荐(0) 编辑

函数指针数组的运用
摘要:从函数指针数组的运用来看程序结构化设计 https://www.linuxidc.com/Linux/2016-12/138780.htm 函数指针数组 https://blog.csdn.net/qq_45349785/article/details/99679621 函数指针数组 https:/ 阅读全文

posted @ 2022-05-17 21:06 lh03061238 阅读(48) 评论(0) 推荐(0) 编辑

32位,64位操作系统下基本数据类型字节大小(转)
摘要:原文:https://www.cnblogs.com/yjbjingcha/p/7146820.html 参考:https://blog.csdn.net/m0_64371275/article/details/124127952 32位,64位操作系统下基本数据类型字节大小 c语言中基本数据类型的 阅读全文

posted @ 2022-05-13 15:32 lh03061238 阅读(1922) 评论(0) 推荐(0) 编辑

逻辑移位和算数移位
摘要:一劳永逸地理解逻辑移位和算术移位问题——与有无符号数_数据溢出_可移植性问题 https://blog.csdn.net/yinchao163/article/details/53019218?spm=1001.2101.3001.6650.3&utm_medium=distribute.pc_re 阅读全文

posted @ 2022-04-09 10:01 lh03061238 阅读(229) 评论(0) 推荐(0) 编辑

fopen、open及CreatFile()的区别
摘要:open是UNIX系统调用函数(包括LINUX等),返回的是文件描述符(File Descriptor),它是文件在文件描述符表里的索引。 fopen是ANSIC标准中的C语言库函数,在不同的系统中应该调用不同的内核api(UNIX/Linux中是open,windows中是CreatFile)。返 阅读全文

posted @ 2022-03-20 21:24 lh03061238 阅读(345) 评论(0) 推荐(0) 编辑

有关ANSI C、ISO C、GNU C、POSIX C
摘要:参考: https://segmentfault.com/a/1190000012461553 https://blog.csdn.net/weixin_44395686/article/details/104904172 https://blog.csdn.net/shenwansangz/art 阅读全文

posted @ 2022-03-20 17:22 lh03061238 阅读(90) 评论(0) 推荐(0) 编辑

C语言中有符号/无符号数的左移和右移运算
摘要:参考: https://blog.csdn.net/u012745229/article/details/51405332 https://blog.csdn.net/xiaoyue_/article/details/115220273?spm=1001.2101.3001.6650.1&utm_m 阅读全文

posted @ 2021-12-09 13:22 lh03061238 阅读(245) 评论(0) 推荐(0) 编辑

浮点数在内存中的表示
摘要:参考:https://www.cnblogs.com/madaossan/p/3704791.html FLOAT 与 DOUBLE 差异(单精度与双精度有什么区别)https://www.runoob.com/note/54237 一篇文章带你了解C语言浮点数之间的比较规则 https://www 阅读全文

posted @ 2021-11-29 13:31 lh03061238 阅读(64) 评论(0) 推荐(0) 编辑

short int 变量的取值范围
摘要:为什么 C 语言中 short int (若为16位)变量的取值范围是 -32768 ~ 32767 ??? 而并不是 -32767 ~ 32767. 1. 最高位为符号位;最高位为0表示正数,最高位为1表示负数; 2. 若以原码表示,16位二进制原码最大为 0111 1111 1111 1111 阅读全文

posted @ 2021-08-28 21:40 lh03061238 阅读(1708) 评论(0) 推荐(0) 编辑

字符串变量存储位置
摘要:参考: https://blog.csdn.net/bxw1992/article/details/74011951 https://blog.csdn.net/daiyutage/article/details/8605580?utm_medium=distribute.pc_relevant.n 阅读全文

posted @ 2020-08-06 13:49 lh03061238 阅读(436) 评论(0) 推荐(0) 编辑

C语言中void*详解及应用
摘要:https://blog.csdn.net/houzhizhen/article/details/90286984 阅读全文

posted @ 2020-07-16 08:58 lh03061238 阅读(300) 评论(0) 推荐(0) 编辑

关于C和C++不同源文件中重名变量的问题(转)
摘要:原文:https://blog.csdn.net/u014454069/article/details/22613271 阅读全文

posted @ 2020-07-07 18:01 lh03061238 阅读(384) 评论(0) 推荐(0) 编辑

const extern static 终极指南(转)
摘要:原文:https://www.cnblogs.com/machao/p/5882302.html 参考: https://blog.csdn.net/peisir/article/details/54799662 参考博文: volatile,让我保持原样 device.c mai#include 阅读全文

posted @ 2020-07-06 18:04 lh03061238 阅读(175) 评论(0) 推荐(0) 编辑

导航

< 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
点击右上角即可分享
微信分享提示