上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
摘要: 最近使用VSFlexGrid绑到DataSource为一个Oracle的Recoreset时,出现绑定的表格出现空间,有的时几行之间间断一行,有的是大片的间断.在Baidu和Google搜索了半天,也有些人和我遇到的是一样的问题,有的说Set Grid.DataSource=Rst后不关闭RecoredSet,认为是可能是还没有绑定完毕就关闭了Recordset造成的空行.这个我认为肯定是错误的,... 阅读全文
posted @ 2007-07-05 16:32 吴东雷 阅读(691) 评论(0) 推荐(0) 编辑
摘要: // DataStructTest.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include const int maxnum=10;struct NODE{ int rowNO; //行号 int co... 阅读全文
posted @ 2007-07-03 10:41 吴东雷 阅读(2087) 评论(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<row;i++) ... 阅读全文
posted @ 2007-06-30 15:30 吴东雷 阅读(939) 评论(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 吴东雷 阅读(307) 评论(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 吴东雷 阅读(278) 评论(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 吴东雷 阅读(271) 评论(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 吴东雷 阅读(296) 评论(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 吴东雷 阅读(244) 评论(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 吴东雷 阅读(211) 评论(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 吴东雷 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 我是一名自考生,也是一个普通的程序员.数据结构这门课对我来说是非常重要的,但是因为我是学自考的,以前上学的时候也没有学过这门课,现在也没有人辅导,所以只能自学.我记得李开复曾经说过,"计算机这门课有些课程自学起来是相当困难的,比如数据结构和算法".这点我深有感触,因为我也曾经试图自学这门课,但每每都会遇到很多的挫折,有些问题对我来说相当有困难,比如我印象最深的那个字符串匹配算法,我到现在也不能很好... 阅读全文
posted @ 2007-06-25 09:11 吴东雷 阅读(373) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h"class CObject{public: virtual void Serialize() { coutfunc(); coutfunc(); cout注意这里其它的调用都符合多态的规则,注意到#2和#4都是类型的强制转换.但#2是对指针类型的转换,#4是对实例的转换.候捷在书上是这样说的:所谓的"向上类型转换"将会造成... 阅读全文
posted @ 2007-06-16 15:56 吴东雷 阅读(579) 评论(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 吴东雷 阅读(1896) 评论(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 吴东雷 阅读(1719) 评论(0) 推荐(0) 编辑
摘要: 项目中用到Oracle,服务器端使用AMERICAN_AMERICA.WE8ISO8859P1字符编码,我没有修改服务器端的权限,只能修改客户端.但是客户端无论我换什么字符编码均得到乱码,最后我将客户端的字符编码也设为AMERICAN_AMERICA.WE8ISO8859P1,然后从程序中下手.AMERICAN_AMERICA.WE8ISO8859P1,这个字符编码是西欧字符编码,对应于.Net的... 阅读全文
posted @ 2007-05-23 09:38 吴东雷 阅读(2469) 评论(2) 推荐(0) 编辑
摘要: 最近遇到一个问题,就是同样的连接字符串,在PC上和在PocketPC上使用SqlClient连接SqlServer的数据库的时候,PC可以连上而PPC连不上.且PPC在连接的实例名为默认的实例名的时候确可以连接,但是在连接Express版本的时候就连不上,因为Express版本的实例名为:ComputerName\SQLEXRESS.开始怀疑是不是PPC端的SqlClient有Bug,后来在网上找... 阅读全文
posted @ 2007-05-20 12:37 吴东雷 阅读(1054) 评论(1) 推荐(0) 编辑
摘要: 1、放弃 有舍才有得! 把握的反面就是放弃,选择了一个机会,就等于放弃了其它所有的可能。当新的机会摆在面前的时候,敢于放弃已经获得的一切,这不是功亏一篑,这不是半途而废,这是为了谋求更大的发展空间;或者什么都不为,只因为喜欢这样做,因为,年轻就是最大的机会。不断尝试新的挑战,会让人生更丰富!人,只有在三十岁之前才会有这个胆量,有这雄厚的资本,才能具备这个资格。 2、失恋 不是不在乎... 阅读全文
posted @ 2007-05-14 14:01 吴东雷 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 永远要记住,话语权在富人手里!一个社会的游戏规则是富人制定的,评判标准也由富人掌握。一个穷人永远也不可能去指导富人怎样致富,怎样过上好日子,哪怕他说的都是真理,也无人会听。一个社会的经济基础已经形成,主流社会就是那些经济上的优势群体。权力一定是与经济利益联系在一起的,一个人哪怕掌权之前是穷人,掌权以后也会步入富人的行列。这时你再期望他为穷人说话是不现实的,他骨子里已经在维护既得利益了。 一个社... 阅读全文
posted @ 2007-04-29 10:09 吴东雷 阅读(471) 评论(0) 推荐(0) 编辑
摘要: 在第一次看这本书时,关于GetDeviceCaps得到的关于显示器各种指标的理论我一直比较迷惑,今天又读了一次.有些问题还是不太清楚.但至少有了更多的理解.下面是我总结的关于GetDeviceCaps得到的几个设备的信息的各种关系:HORZSIZE和VERTSIZE:这个是显示设备的水平/垂直物理尺寸,计量单位是mm.书上讲开始介绍这两个概念的时候是用的"实际物理尺寸"的术语,但是后面又讲到了它,... 阅读全文
posted @ 2007-04-28 10:54 吴东雷 阅读(1072) 评论(0) 推荐(0) 编辑
摘要: 2005.06.23) 来自:非常在线 赵宁 导读—— 从开始自己喜欢的专业通讯,到后来喜欢的管理,幻想过是专业高手 从来没有想过自己会加入这一行, 从开始自己喜欢的专业通讯,到后来喜欢的管理,幻想过是专业高手,幻想过管理专家,却从来没有想过进入这一行,但真的在我刚刚离开校园的时候发生了,短短几天,对这个行业有了一个感性认识,其实最让自己伤感的不是自己没有干这一行的经验,而... 阅读全文
posted @ 2007-04-26 09:47 吴东雷 阅读(366) 评论(1) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页