- 博客(5)
- 收藏
- 关注
原创 二叉树的创建及基本操作。
#include #include using namespace std; typedef struct node { int data; struct node *lchild; struct node *rchild; }binode,*bitree; bitree initree(binode *root) { bitree tree=root; retur
2014-10-06 15:59:19
462
原创 大数相减(前者大于等于后者)
#include #include using namespace std; void subtraction(char *str1,char*str2) { int len2=strlen(str2)-1; int len1=strlen(str1)-1; while(len2!=-1) { if(str1[len1]>=str2[len2]) str1[len1]=
2014-07-07 22:32:30
595
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人