- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 数据结构--排序
#include "stdafx.h"#define uint8 unsigned char void swap(uint8 *a,uint8 *b){ uint8 temp; temp=*a; *a=*b; *b=temp;}void printf_array(uint8 *a,uint8 n){ uint8 i; for(i=0;i<n;i++) { p
2012-08-06 23:33:19 5714
原创 起泡排序
// test.cpp : 定義主控台應用程式的進入點。//#include "stdafx.h"#include #include #include void print_array(unsigned char *p,unsigned char len) { int i; for(i=0;i<len;i++) print
2012-08-02 20:31:48 5064
原创 插入排序
// test.cpp : 定義主控台應用程式的進入點。//#include "stdafx.h"#include #include #include void print_array(unsigned char *p,unsigned char len){ int i; for(i=0;i<5;i++) printf("%d ",*(p+i)); prin
2012-08-01 12:31:49 4958
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人