C语言
love_muzihai
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
c++类中static 类型变量使用
在C++语音中类的静态数据成员在初始化时比较特殊,以为它并不是在类的定义中初始化,而是在类的定义外被初始化。如下示例:#include"iostream" #include"string.h" class test { public: static char strStaticname[10]; static int buf; test() { } test(char *str原创 2016-06-11 20:09:40 · 5606 阅读 · 0 评论 -
冒泡排序法与快速排序法举例
一个简单的冒泡排序代码: #include"iostream" int data[18] = {48,25,91,53,88,64,37,79,2,80,14,35,10,56,23,96,52,67}; void maopao(int *data, int lenth) { int i = 0; int j = 0; int k = 0; int temp = 0; for (i原创 2016-06-11 21:23:07 · 552 阅读 · 0 评论 -
内核看门狗简介
MTK 平台:wd_common_drv.c static int kwdt_thread(void *arg) { struct sched_param param = {.sched_priority = 99 }; struct rtc_time tm; struct timeval tv = { 0 }; /* android time */ struct rtc_time原创 2017-03-23 20:19:58 · 1615 阅读 · 0 评论
分享