上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 76 下一页
摘要: * Please tell me who you are. Run git config –global user.email “you@example.com” git config –global user.name “Your Name” to set your account’s defau 阅读全文
posted @ 2024-04-02 09:55 opensmarty 阅读(533) 评论(0) 推荐(0)
摘要: 简介1、移除原来的cmake版本yumremovecmake-y2、下载cmake-3.28.4.tar.gz安装包并解压wgethttps://cmake.org/files/v3 1、移除老版本cmake版本并安装依赖包 yum remove cmake -y ; yum install -y 阅读全文
posted @ 2024-03-26 11:32 opensmarty 阅读(545) 评论(0) 推荐(1)
摘要: 一、JSON概述1.1 JSON介绍JSON:JavaScript对象表示法(JavaScript Object Notation)。是一种轻量级的数据交换格式。它基于ECMAScript的一个子集。JSON采用完全独立于语言的文本格式,但是也使用了类似C语音家族的习惯(包括C、C++、C#、Jav 阅读全文
posted @ 2024-02-18 14:37 opensmarty 阅读(2430) 评论(0) 推荐(1)
该文被密码保护。 阅读全文
posted @ 2024-02-18 14:20 opensmarty 阅读(0) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2024-02-18 14:12 opensmarty 阅读(0) 评论(0) 推荐(0)
摘要: MSB、LSB? MSB(Most Significant Bit):最高有效位,二进制中代表最高值的比特位,这一位对数值的影响最大。 LSB(Least Significant Bit):最低有效位,二进制中代表最低值的比特位 例如,在二进制的1001(十进制的9)中,最左边的“1”即是MSB对数 阅读全文
posted @ 2024-02-08 14:42 opensmarty 阅读(368) 评论(0) 推荐(0)
摘要: 一,宏的定义与撤销 #普通宏定义 #define PI 3.14 //编译阶段替换掉宏 #define T1 3+4 //容易产生歧义 #define T2 (3+4) //添加括号后,语义清楚 float r = 1.0; float area = PI * r * r; int a = 2* T 阅读全文
posted @ 2024-02-08 14:40 opensmarty 阅读(206) 评论(0) 推荐(0)
摘要: Definition: The #define Directive You can use the #define directive to give a meaningful name to a constant in your program. The two forms of the synt 阅读全文
posted @ 2024-02-08 14:19 opensmarty 阅读(4188) 评论(0) 推荐(0)
摘要: 分割函数strtok 一、strtok()基本使用和介绍 二、strtok()注意事项 三、strtok()函数源码 一、strtok()基本使用和介绍 1、函数原型 char *strtok(char *str, const char *delim) 2、参数 str—要被分解的字符串 delim 阅读全文
posted @ 2024-02-08 14:14 opensmarty 阅读(2740) 评论(0) 推荐(1)
摘要: 目录 1、含义: 2、使用: 3、连续打印出自定义格式的文字: 1、含义:(1)va_list是C语言中的一个宏定义,用于表示一个变长参数列表。它是一个指向变长参数列表的指针,可以通过宏va_start、va_arg和va_end对变长参数列表进行访问和操作。在函数中需要接收不定数量的参数时,可以使 阅读全文
posted @ 2024-02-08 12:24 opensmarty 阅读(1424) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 76 下一页