
C
文章平均质量分 86
huanshiwushuang
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
二叉树求高度、叶子节点个数、总节点个数
#include #include typedef struct node { char data; struct node *lChild; struct node *rChild; }BinaryTreeNode; typedef struct { BinaryTreeNode *root; int count; }BinaryTree; Binary原创 2015-12-08 09:13:31 · 4365 阅读 · 0 评论 -
C 语言-直接插入排序
说明:只能输入 N-1 个数据,因为下标 0 处 将作为交换数据的临时存储空间 #include #define N 10 int main(int argc, char *argv[]) { int i; int data[N]; printf("\n一共可以输入%d个数据\n",N-1); for (i = 1; i printf("\n请输入第 %d 个数据:",i); scanf("%原创 2017-04-14 15:13:53 · 231 阅读 · 0 评论