- 博客(7)
- 资源 (12)
- 问答 (1)
- 收藏
- 关注
原创 选择法和冒泡法排序接口
#define ret_ok 0#define ret_err 1#define ARRAY_SIZE 10/*选择法排序*/int Choice_Sort(int array[],int array_len){ int i = 0; int j = 0; int iMin = 0; int iTemp = 0; int iFlag = 0;
2015-08-13 07:24:40 1009
原创 编程规范(一 之kmalloc,fflush,fclose,char_init)
1. kmalloc函数接口: 在我们使用的时候经常使用该接口,但是我们很少注意过这个接口的一些比较重要的 内核接口,例如: /*申请一个HASH表的大小*/ #define HASH_MALLOC_SIZE 1024*1024 ... char *pHashMalloc; pHashMalloc = (CHAR *)kmalloc(sizeof(tag_HA
2015-08-11 23:36:18 1063 1
原创 判断一周的某一天的函数接口
#define ret_ok 0#define ret_err 1char week_day[8] = {"Monday","Tuesday","Wedsday","Thursday","Friday","Saturday","Sunday"};int Judge_day_of_the_week(int week_num,char *result_week_day){ if( w
2015-08-10 22:38:11 706
原创 判断一年中某一天是这一年的第几天的函数接口
int a[] = {31, 28, 31, 30, 31, 30, 31,31, 30, 31, 30, 31};int judge_day(int Year, int Month, int Day, int *result_day){ int Total = 0; int i = 0; if( (((Year%400) == 0) || ((Year%4) == 0))
2015-08-10 22:22:46 1228
原创 学生成绩判断函数接口
#define ret_ok 1#define ret_err 1int judge_score(int score,char *ch){ if(score > 100 || score < 0) { printf("The score you input should little than 100 and bigger than 0\n");
2015-08-08 08:44:37 628
原创 对学生成绩进行评定:小于60为"E",60~69为"D",70~79为"C",80~89为"b",90以上为"A"
#define ret_ok 1#define ret_err 1int judge_score(int score,char *ch){if(score > 100 || score {printf("The score you input should little than 100 and bigger than 0\n");return ret_err
2015-08-05 22:40:20 3911
原创 sourceIsight创建大量工程时的注意事项
作为程序猿,很多时候我们需要面对很多代码,而且有的代码更新比较快,前一个版本由于打了tag而不能升级为后面的版本,这是我们看代码以及编写代码时需要用到souceInsight创建的的工程,可能由于接触了大量的代码,而创建了大量的工程,在一段时间之后,可能我们也不清楚每个工程之间的区别了,这时有几种方法可以尝试解决这个问题:(1). 当代码更新以后,之前不用的代码删除,并将对应的sourceIn
2015-08-05 21:16:55 949
CoAP_rfc7252.pdf
2020-12-04
openocd-2020-12-23.pdf
2020-11-24
_install.tar.gz
2020-07-08
busybox-1.31.0.tar.bz2
2020-07-08
Real-Time Embedded Multithreading--Using ThreadX.7z
2019-08-20
简明 Python 教程_cn_en
2018-09-04
Inside the C++ Object Model_english&chinese;
2018-07-27
See mips run
2018-03-17
nand操作时page_size = 2048;
2014-11-25
TA创建的收藏夹 TA关注的收藏夹
TA关注的人