日志文章列表

2007年10月27日 19:01:33

排序算法

#include<stdio.h>
#include<stdlib.h>
struct node
{
  int key;
}r[20];

struct rnode
{
  int key;
  int point;
};

main()
{
  void print(struct node a[20],int n);
..

阅读全文>>

Tags: 排序算法  

类别: c/c++/c# |  评论(0) |  浏览(1523) |  收藏
2006年11月27日 01:36:57

[转载]想成为嵌入式程序员应知道的0x10个基本问题

    预处理器(Preprocessor) 1 . 用预处理指令#define 声明一个常数,用以表明1年中有多少秒(忽略闰年问题) #define SECONDS_PER_YEAR (60 * 60 * 24 * 365)UL我在这想看到几件事情:#define 语..

阅读全文>>

类别: c/c++/c# |  评论(83) |  浏览(3598) |  收藏