- 博客(5)
- 资源 (12)
- 收藏
- 关注
原创 字符驱动框架hellop
文件放在/linux-3.0/drivers/char/hellop *********************************************************** hellop.c #include #include #include static char *whom = "world"; static int howmany = 1; modul
2014-02-21 19:34:03 677
原创 c++的概念
面向对象编程的特点是继承和动态绑定。C++通过类的派生支持继承,通过虚拟函数支持动态绑定。虚拟函数提供了一种封装类体系实现细节的方法。
2014-02-13 10:57:53 444
原创 对线性表(例如整形数组的各种排序)
#include #if 0 /********************************** *********quick sort*************** **********************************/ void quick(int *s,int left,int right) { if(left>=right) return; int l
2014-02-11 21:13:56 920
原创 链表反转
/***********************算法如下**************************************** **将oldlist从头一个一个的断下,然后一个一个按顺序插入新头** ************************************************************************/ struct student
2014-02-11 15:51:58 470
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人