<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[记录学习]]></title><description><![CDATA[博客为我个人的学习笔记]]></description><link>https://blog.csdn.net/De_Ming</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; De_Ming]]></copyright><item><title><![CDATA[C语言——枚举和联合]]></title><link>https://blog.csdn.net/De_Ming/article/details/130151646</link><guid>https://blog.csdn.net/De_Ming/article/details/130151646</guid><author>De_Ming</author><pubDate>Fri, 21 Apr 2023 10:45:00 +0800</pubDate><description><![CDATA[1.枚举，就是一一列举，把可能的取值一一列举出来；枚举常量的值默认是从0开始，后面的依次递增1；2.联合的成员是共用同一块内存空间的，这样一个联合变量的大小，至少是最大成员的大小]]></description><category></category></item><item><title><![CDATA[C语言——结构体的内存对齐、位段]]></title><link>https://blog.csdn.net/De_Ming/article/details/130151552</link><guid>https://blog.csdn.net/De_Ming/article/details/130151552</guid><author>De_Ming</author><pubDate>Wed, 19 Apr 2023 10:15:00 +0800</pubDate><description><![CDATA[1.第一个成员放在结构体变量在内存中存储位置的0偏移处开始；从第2个成员往后的所有成员都放在一个对齐数的整数倍的地址处；结构体总大小为最大对齐数的整数倍；2.位段的空间上是按照需要以4个字节（int）或1个字节（char）的方式来开辟的，位段是不跨平台的；与结构相比，位段可以达到同样的效果，并且可以很好的节省空间，但是有跨平台的问题存在]]></description><category></category></item><item><title><![CDATA[C语言——结构体的自引用、结构体嵌套、结构体互相包含]]></title><link>https://blog.csdn.net/De_Ming/article/details/130151503</link><guid>https://blog.csdn.net/De_Ming/article/details/130151503</guid><author>De_Ming</author><pubDate>Tue, 18 Apr 2023 12:30:00 +0800</pubDate><description><![CDATA[1.结构体的自引用：使用结构体指针来实现自引用；2.结构体嵌套；3.结构体互相包含：如果两个结构体互相包含，则需要对其中一个结构体进行不完整声明]]></description><category></category></item><item><title><![CDATA[C语言——结构体]]></title><link>https://blog.csdn.net/De_Ming/article/details/130151331</link><guid>https://blog.csdn.net/De_Ming/article/details/130151331</guid><author>De_Ming</author><pubDate>Sun, 16 Apr 2023 09:45:00 +0800</pubDate><description><![CDATA[1.结构是一种用户自定义的数据类型；2.定义结构体变量，一般有三种形式，另外有使用 typedef 的情况；3.对结构体成员时字符数组的情况，赋值可以通过字符串函数 strcpy(成员，字符串)；4.访问结构体成员：结构成员访问运算符 "." 和 "->"；5.结构体地址传参相比于结构体传参更好]]></description><category></category></item><item><title><![CDATA[C语言——指针练习，逐步解析]]></title><link>https://blog.csdn.net/De_Ming/article/details/130168340</link><guid>https://blog.csdn.net/De_Ming/article/details/130168340</guid><author>De_Ming</author><pubDate>Sat, 15 Apr 2023 17:15:00 +0800</pubDate><description><![CDATA[有关指针的一些练习题的详细分析，逐步分析，助于理解]]></description><category></category></item><item><title><![CDATA[C语言——函数指针、函数指针数组、回调函数]]></title><link>https://blog.csdn.net/De_Ming/article/details/130168291</link><guid>https://blog.csdn.net/De_Ming/article/details/130168291</guid><author>De_Ming</author><pubDate>Sat, 15 Apr 2023 16:30:00 +0800</pubDate><description><![CDATA[函数指针就是指向函数的指针；回调函数：如果把一个函数的指针作为参数传递给另一个函数，当这个指针被用来调用其所指向的函数时，就说这是回调函数]]></description><category></category></item><item><title><![CDATA[C语言——字符指针、指针数组和数组指针、二维数组作为函数参数]]></title><link>https://blog.csdn.net/De_Ming/article/details/130168180</link><guid>https://blog.csdn.net/De_Ming/article/details/130168180</guid><author>De_Ming</author><pubDate>Sat, 15 Apr 2023 12:15:25 +0800</pubDate><description><![CDATA[1.字符指针指向一个字符、指向字符串首地址；2.字符指针和数组名的区别；3.指针数组和数组指针的区别；4.二维数组作为函数参数，形参可以写成二维数组和数组指针两种]]></description><category></category></item><item><title><![CDATA[C语言——assert函数、const类型限定符]]></title><link>https://blog.csdn.net/De_Ming/article/details/130154323</link><guid>https://blog.csdn.net/De_Ming/article/details/130154323</guid><author>De_Ming</author><pubDate>Fri, 14 Apr 2023 15:15:37 +0800</pubDate><description><![CDATA[一般将 assert 断言函数对一个函数的参数进行空指针检查；对指针使用const来说，要区分是限定指针本身为 const 还是限定指针指向的值为 const]]></description><category></category></item><item><title><![CDATA[C语言——指针]]></title><link>https://blog.csdn.net/De_Ming/article/details/129947487</link><guid>https://blog.csdn.net/De_Ming/article/details/129947487</guid><author>De_Ming</author><pubDate>Tue, 04 Apr 2023 11:24:05 +0800</pubDate><description><![CDATA[1、指针（pointer）是一个值为内存地址的变量（或数据对象），也可以说，指针就是地址；2、可以用指针表示数组的元素和获得元素的值；3、出现野指针的三种情况；4、指针和整数的加减法运算，如 p + i == arr[1]，指针是按对应大小的存储单元偏移的；5、指针类型决定了指针解引用的权限有多大（能操作几个字节），决定了指针走一步有多大]]></description><category></category></item><item><title><![CDATA[C语言——冒泡排序]]></title><link>https://blog.csdn.net/De_Ming/article/details/129884532</link><guid>https://blog.csdn.net/De_Ming/article/details/129884532</guid><author>De_Ming</author><pubDate>Fri, 31 Mar 2023 18:11:17 +0800</pubDate><description><![CDATA[假设一共要比较 n 个元素，一轮比较就是归位一个最大数，那么一共比较 n-1 轮；第一轮比较 n-1 次，第二轮比较 n-2 次...；最坏情况下冒泡排序需要比较的次数是 n(n-1)/2；冒泡排序的时间复杂度为 O(N²)**]]></description><category></category></item><item><title><![CDATA[C语言——数组]]></title><link>https://blog.csdn.net/De_Ming/article/details/129862555</link><guid>https://blog.csdn.net/De_Ming/article/details/129862555</guid><author>De_Ming</author><pubDate>Thu, 30 Mar 2023 17:43:03 +0800</pubDate><description><![CDATA[数组（array）由数据类型相同的一系列元素组成；二维数组是以数组为数组元素的数组；一般情况下，数组名就是首元素地址，有两个例外：sizeof(数组名) 和 &数组名]]></description><category></category></item><item><title><![CDATA[C语言——函数的递归]]></title><link>https://blog.csdn.net/De_Ming/article/details/129845882</link><guid>https://blog.csdn.net/De_Ming/article/details/129845882</guid><author>De_Ming</author><pubDate>Wed, 29 Mar 2023 21:28:43 +0800</pubDate><description><![CDATA[C允许函数调用它自己，这种调用过程称为递归（Recursion）；每一次递归都会在栈区上申请内存空间，可能会导致会栈溢出；递归的两个必要条件：存在限制条件，每次递归调用之后越来越接近这个限制条件]]></description><category></category></item><item><title><![CDATA[C语言——函数]]></title><link>https://blog.csdn.net/De_Ming/article/details/129805155</link><guid>https://blog.csdn.net/De_Ming/article/details/129805155</guid><author>De_Ming</author><pubDate>Mon, 27 Mar 2023 22:03:53 +0800</pubDate><description><![CDATA[1.函数是完成特定任务的独立程序代码单元，由函数头和函数体组成，而函数体包括了函数的返回类型、函数名、函数参数；2.通常习惯写上函数声明，写在程序的开头，告诉编译器有一个函数；3.函数调用可以有传值调用和传址调用；4.函数不能嵌套定义，但可以嵌套调用，函数的返回值可以作为另一个函数的参数]]></description><category></category></item><item><title><![CDATA[C语言——EOF、getchat( )、putchar( )]]></title><link>https://blog.csdn.net/De_Ming/article/details/129469200</link><guid>https://blog.csdn.net/De_Ming/article/details/129469200</guid><author>De_Ming</author><pubDate>Sat, 11 Mar 2023 21:35:25 +0800</pubDate><description><![CDATA[1、单字符I/O：getchar( ) 和 putchar ( )；2、EOF 的用法：while ((ch = getchar()) != EOF)、while(scanf("%d",&n) != EOF)]]></description><category></category></item><item><title><![CDATA[C语言——分支语句 if、switch]]></title><link>https://blog.csdn.net/De_Ming/article/details/129383054</link><guid>https://blog.csdn.net/De_Ming/article/details/129383054</guid><author>De_Ming</author><pubDate>Thu, 09 Mar 2023 11:15:51 +0800</pubDate><description><![CDATA[1、分支语句包含 if 语句、switch 语句；2、跳转语句 break、continue、goto]]></description><category></category></item><item><title><![CDATA[C语言——循环语句 while、for、do while]]></title><link>https://blog.csdn.net/De_Ming/article/details/129407680</link><guid>https://blog.csdn.net/De_Ming/article/details/129407680</guid><author>De_Ming</author><pubDate>Wed, 08 Mar 2023 17:20:49 +0800</pubDate><description><![CDATA[​1、语句（statement）是 C 程序的基本构建块，一条语句相当于一条完整的计算机指令​	；2、循环语句包括 while、for、do while​；3、while 语句和 do…while 语句的区别：while 语句是先判断后执行，do…while 语句是先执行，至少会执行一次。]]></description><category></category></item><item><title><![CDATA[C语言——字符串、打印字符串的三种方式]]></title><link>https://blog.csdn.net/De_Ming/article/details/129334143</link><guid>https://blog.csdn.net/De_Ming/article/details/129334143</guid><author>De_Ming</author><pubDate>Tue, 07 Mar 2023 10:20:55 +0800</pubDate><description><![CDATA[1、字符串是一个或多个字符的序列，空字符(\0) 标记字符串的结束；2、字符串用 %s 转换说明来处理字符串的输入和输出；3、输入和输出必须给出字符串的首地址，可以直接是字符串常量字符数组名，或者字符指针变量名；4、scanf() 输入数据时，要注意函数在读到空格、制表符或换行符就会停止]]></description><category></category></item><item><title><![CDATA[C语言——转义字符、刷新输出]]></title><link>https://blog.csdn.net/De_Ming/article/details/129333811</link><guid>https://blog.csdn.net/De_Ming/article/details/129333811</guid><author>De_Ming</author><pubDate>Mon, 06 Mar 2023 12:53:11 +0800</pubDate><description><![CDATA[1、转义字符常量只代表一个字符；2、\ddd：ddd 表示跟 1～3 位八进制数，最大为'\377'；3、\xhh：hh 表示跟 1～2 位十六进制数，最大为'\xFF'；4、刷新输出：最初，printf() 语句把输出发送到一个叫做缓冲区]]></description><category></category></item><item><title><![CDATA[C语言——浮点型数据的存储]]></title><link>https://blog.csdn.net/De_Ming/article/details/129285941</link><guid>https://blog.csdn.net/De_Ming/article/details/129285941</guid><author>De_Ming</author><pubDate>Sat, 04 Mar 2023 13:05:49 +0800</pubDate><description><![CDATA[float存储：S(1)+E(8)+M(23)；(-1)^S * M * 2^E；E是无符号整数，存储 E 时加中间数127（32位）变为二进制；保存 M 时，只保存 小数部分，后面补 0]]></description><category></category></item><item><title><![CDATA[C语言——整型数据的存储]]></title><link>https://blog.csdn.net/De_Ming/article/details/129285804</link><guid>https://blog.csdn.net/De_Ming/article/details/129285804</guid><author>De_Ming</author><pubDate>Sat, 04 Mar 2023 09:15:00 +0800</pubDate><description><![CDATA[整型数据在内存中都是以补码的二进制形式存放的，计算机默认是小端存储方式]]></description><category></category></item></channel></rss>