06 2007 档案

摘要:// DataStructTest.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include void ShowArray2(int * p,int row,int col){ int index=0; for(int i=0;i<row;i++) ... 阅读全文
posted @ 2007-06-30 15:30 吴东雷 阅读(945) 评论(0) 推荐(0) 编辑
摘要:// DataStructTest.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include void ShowArray2(int * p,int row,int col){ int index=0; for(int i=0;i=d) ... 阅读全文
posted @ 2007-06-30 15:28 吴东雷 阅读(315) 评论(0) 推荐(0) 编辑
摘要:// DataStructTest.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include typedef struct linked_queue{ int data; struct linked_queue * next;}LqueueTp;t... 阅读全文
posted @ 2007-06-25 16:45 吴东雷 阅读(283) 评论(0) 推荐(0) 编辑
摘要:// DataStructTest.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include int const maxsize=20;typedef struct cycqueue{ int data[maxsize]; int front; ... 阅读全文
posted @ 2007-06-25 15:32 吴东雷 阅读(275) 评论(0) 推荐(0) 编辑
摘要:// DataStructTest.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include typedef struct node{ int data; struct node * next;}LStackTp;//初始化.书上的算法没有考虑到释放栈... 阅读全文
posted @ 2007-06-25 11:35 吴东雷 阅读(302) 评论(0) 推荐(0) 编辑
摘要:// DataStructTest.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include int const sqstack_maxsize=6;struct sqstack{ int data[sqstack_maxsize]; int top;};//... 阅读全文
posted @ 2007-06-25 11:33 吴东雷 阅读(246) 评论(0) 推荐(0) 编辑
摘要:// DataStructTest.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include typedef struct node * pointer;struct node{ int data; pointer next;};typedef poi... 阅读全文
posted @ 2007-06-25 09:12 吴东雷 阅读(214) 评论(0) 推荐(0) 编辑
摘要:// DataStructTest.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include typedef struct node * pointer;struct node{ int data; pointer next;};typedef poi... 阅读全文
posted @ 2007-06-25 09:11 吴东雷 阅读(395) 评论(0) 推荐(0) 编辑
摘要:我是一名自考生,也是一个普通的程序员.数据结构这门课对我来说是非常重要的,但是因为我是学自考的,以前上学的时候也没有学过这门课,现在也没有人辅导,所以只能自学.我记得李开复曾经说过,"计算机这门课有些课程自学起来是相当困难的,比如数据结构和算法".这点我深有感触,因为我也曾经试图自学这门课,但每每都会遇到很多的挫折,有些问题对我来说相当有困难,比如我印象最深的那个字符串匹配算法,我到现在也不能很好... 阅读全文
posted @ 2007-06-25 09:11 吴东雷 阅读(374) 评论(0) 推荐(0) 编辑
摘要:#include "stdafx.h"class CObject{public: virtual void Serialize() { coutfunc(); coutfunc(); cout注意这里其它的调用都符合多态的规则,注意到#2和#4都是类型的强制转换.但#2是对指针类型的转换,#4是对实例的转换.候捷在书上是这样说的:所谓的"向上类型转换"将会造成... 阅读全文
posted @ 2007-06-16 15:56 吴东雷 阅读(583) 评论(0) 推荐(0) 编辑
摘要:// EvcSymbolTest.cpp : Defines the entry point for the application.//#include "stdafx.h"#include "resource.h"#include #include #include #include #include #include #define countof(x) sizeof(x)/size... 阅读全文
posted @ 2007-06-11 15:19 吴东雷 阅读(1902) 评论(9) 推荐(0) 编辑
摘要:C++字符串完全指南 - Win32字符编码(一)翻译:连波 14/11/2002 URL: http://www.zdnet.com.cn/developer/tech/story/0,2000081602,39098124,00.htm 前言 字符串的表现形式各异,象TCHAR,std::string,BSTR等等,有时还会见到怪怪的用_tcs起头的宏。这个指南的目的就是说明各种字符串类型... 阅读全文
posted @ 2007-06-08 16:34 吴东雷 阅读(1723) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示