随笔分类 -  C/C++

摘要:1 #include 2 #include 3 using namespace std; 4 void main() 5 { 6 void f(int i,int j,int n,int value,int **a); 7 int n,p,q; 8 cout>n;11 a=new in... 阅读全文
posted @ 2009-12-01 20:16 mellowsmile 阅读(261) 评论(0) 推荐(0)
摘要:实现二叉树宽度递归算法~ 1 #include 2 using namespace std; 3 typedef struct node 4 { 5 char data; 6 int lab; 7 struct node *lchild; 8 struct node *rchild... 阅读全文
posted @ 2009-11-29 15:01 mellowsmile 阅读(725) 评论(0) 推荐(0)