![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c语言基础
CetXiyuan
这个作者很懒,什么都没留下…
展开
-
【c语言基础】关于指针和变量的思考
/**! 2018年1月30日14:18:00 Author: xiyuan255 Purpose: c语言基础 */ /**(1) 函数类型强制转换示例代码***start***/ void SelectMainFrame( char tmf ) { assert( (tmf==0x01) || (tmf==0x02) ); if (0x01 == tmf) {...原创 2017-03-20 08:08:33 · 348 阅读 · 0 评论 -
一个多功能的打印函数
/* ------------------------------------------- * DateCode: 2018年1月23日10:11:17 * Athor: xiyuan255 * Version: V1.0 * Purpose: Println function --------------------------------------------- *...原创 2018-03-06 08:16:09 · 434 阅读 · 0 评论 -
C的常用模板函数接口 --字符串操作、排序等
/**! * 2018年1月29日10:28:50 * Author: xiyuan255 * 快速排序的模板代码 */ #define __STATIC_INLINE static inline typedef Cali_Fix_t DataType; __STATIC_INLINE uint32_t getCompValue( const void *pCurren...原创 2018-03-06 08:17:55 · 559 阅读 · 0 评论 -
C的常用模板函数接口2 --字符串操作、排序等
/* 以下代码是测试动态库libxiyuan.so或静态库xiyuanlib.a的容器 操作的testVessel.c源代码。 其中:(该版本加入容器属性) 1.加入容器属性,VAssemble_t类型的容器,可以接收任何类型的 数据,内核使用的是线性循环双向链表。 2.该容器可以对数据根据比较函数的不同,进行不同的排序; 3.该容器可以根据key值的和...原创 2018-08-29 18:08:25 · 307 阅读 · 0 评论