摘要: #include <iostream>#define MaxSize 100using namespace std;#define ElemType chartypedef struct tnode{ ElemType data; struct tnode* lchild,*rchild;}BTNode;void CreateBTree(BTNode* &bt,char *str){ BTNode *st[MaxSize],*p = NULL; int top = -1,k,j=0; char ch; bt = NULL; ch = str[j]; ... 阅读全文
posted @ 2012-04-18 22:16 小鱼儿c 阅读(487) 评论(0) 推荐(0) 编辑
摘要: [code]#include <afx.h>#include <afxwin.h>#include <afxinet.h>#include <stdio.h>// compile for release with// cl /MT /GX// or for debug with// cl /MTd /GXCWinApp theApp;void main(){ if (!AfxWinInit(::GetModuleHandle(NULL), NULL, ::GetCommandLine(), 0)) { // catastropic error! 阅读全文
posted @ 2012-04-18 00:11 小鱼儿c 阅读(2093) 评论(0) 推荐(0) 编辑