****关于 OLE DB 和 .NET 的思考 (强烈推荐)**** (转)
****关于 OLE DB 和 .NET 的思考 (强烈推荐)**** (转)[@more@]关于 OLE db 和 .NET 的思考 你我并不相识。不过,面对一个实实在在的问题“软件到底是什么?”,我却没有合适的答案。 设想一下这样一个场景:在一个旅游纪念品商店,你正专注于购买一些没用的东西(主要是纪念品),以便让到机场接你的朋友和亲戚感到开心。这时,往往会有人问你:“第一次来吗?出差还是度假?” 所以,如果你是在做和软件有关的事,而不是在度假,那你就不得不面对这个现实的问题。 那么,软件到底是什么? 回答这种关于存在的问题是很困难的,尤其
MSDN 在线教学——使用 C#: 打开包装! 快点! (转)
MSDN 在线教学——使用 C#: 打开包装! 快点! (转)[@more@]MSDN 在线教学——使用 C#: 打开包装! 快点! microsoft.com/code/default.ASP?URL=/code/sample.asp?url=/MSDN-FILES/026/002/254/msdncompositedoc.XML">请访问 MSDN 源代码中心,下载本专栏文章中示例的源代码(英文)。 上个月,我们介绍了装箱和取消装箱的方法,以及什么时候会用到它们。这个月,我们将研究装箱对性能的影响,以及我们应当怎样将这种影响减少到最小。 装箱和性能 由于进行了装箱,所以 C# 中的对象模型非常简单明了。但是采用经过装箱的数值类型会导
有些程序员可能很轻松()... (转)
有些程序员可能很轻松()... (转)[@more@]MSDN Online Voices - More or Hess:演示剖析 你们有些程序员可能很轻松:舒舒服服地坐在桌子前,按照事先精心设计的规范编写代码。面前的里程碑经过精细策划,清楚地标识着组里所有成员为之奋斗的功能目标。在开发周期的某些阶段,你们会进入所谓“最后冲刺”的阶段。计划风险重重,当然,每个人都要工作到深夜,还要在周末加班,才能完成计划。尽管如此,你们面前的道路往往是清晰可见的。大家很清楚自己要去哪里,怎样才能到达。 另一些程序员的境遇则完全不同。这些人设计和开发的代码仅
C++ articles:Guru of the Week #1 (转)
C++ articles:Guru of the Week #1 (转)[@more@]作者:Hub Sutter译者:plpliuly /*此文是译者出于自娱翻译的GotW(Guru of the Week)系列文章第一篇,原文的版权是属于Hub Sutter(著名的C++专家,《Exceptional C++》的作者)。此文的翻译没有征得原作者的同意,只供学习讨论。——译者*/ #1 变量的初始化(97年2月21日提出)难度:4/10 你知道有多少种初始化变量的方法?可千万要当心那些看起来象变量初始化,而实际上并不是的错误哟。 问题: 请看下面的语句,它们之间是否有区别? SomeType t = u; SomeType
一封写给中国学生的信 (转)
一封写给中国学生的信 (转)[@more@]--微软中国研究院院长 李开复 编者按 华裔美国科学家、微软中国研究院院长李开复是一位在语音识别、人工智能、三维图形和 国际互联网多媒体等领域享有很高声誉的年轻人。他的成功经验和治学精神引起了我国许多青年 尤其是大学生的广泛关注。在与我国年轻人的交往过程中,李开复归纳出了一些大家共同关心的 问题,并结合自己的学习和工作经历,坦诚相见,直抒胸臆,写成了一封给我国学生的长信。本报今天全文刊载这封信件,相信对大学生和青年朋友在如何对待机遇、如何对待学业、如何对待 工作、如何对待
Visual Basic.NET 中的语言新变化 (转)
Visual Basic.NET 中的语言新变化 (转)[@more@] 简介XML:namespace prefix = o ns = "urn:schemas-microsoft-com:Office:office" /> 要快速创建企业级的web应用程序,开发人员必须依赖于可伸缩性、强壮性和可重用性等商业逻辑。在过去的几年中,面向对象的程序设计成为符合这些要求的系统的首要方法。使用面向对象的编程语言有助于使大规模的系统更易于理解、更易于调试、升级更迅速。 为了使Visual Basic开发人员能够从面向对象设计中受益并简化企业级Web应用程序的开发,Visual Basic的下一个版本——Visual Ba
程序员的网上资源 (转)
程序员的网上资源 (转)[@more@]CSDN.NET">http://www.csdn.net编程摇篮http://www.bcbshcool.com/编程爱好者http://www.pfan.net/daohang.htm编程世界http://www.moreres.com/中国程序员http://www.chinaprogrammer.com/稻田电脑http://paddy.myrice.com/microsofthttp://www.microsoft.com/
How Users Read on the Web (转)
How Users Read on the Web (转)[@more@] 一篇没有翻译完的,但是大概已经有一些了,希望对web UI有帮助 How Users Read on the WebXML:namespace prefix = o ns = "urn:schemas-microsoft-com:Office:office" /> They don't. People rarely read Web pages word by word; instead, they scan the page, picking out individual words and sentences. In a recent study John Morkes and I found that 79 percent of our test users always scanned any new page they came across; only 16 percent read word-by-word. 用
iczelion tut13 (转)
iczelion tut13 (转)[@more@]Tutorial 13: Memory Mapped Files I'll show you what memory mapped files are and how to use them to your advantages. Using a memory mapped file is quite easy as you'll see in this tutorial. DOWNLOAD the example here. Theory:If you examine the example in the previous tutorial closely, you'll find that it has a serious shortcoming: what if the file you want to read is larger than the allocated memory block? or what if the string you want to search for is cut off in
iczelion tut12 (转)
iczelion tut12 (转)[@more@]Tutorial 12: Memory Management and File I/O We will learn the rudimentary of memory management and file i/o operation in this tutorial. In addition we'll use common dialog boxes as input-output devices. Theory:Memory management under win32 from the application's point of view is quite simple and straightforward. Each process owns a 4 GB memory address space. The memory model used is called flat memory model. In this model, all segment registers (or selectors) poin
iczelion tut11 (转)
iczelion tut11 (转)[@more@]Tutorial 11: More about Dialog Box We will learn more about dialog box in this tutorial. Specifically, we will explore the topic of how to use dialog boxs as our input-output devices. If you read the previous tutorial, this one will be a breeze since only a minor modification is all that's needed to be able to use dialog boxes as adjuncts to our main window. Also in this tutorial, we will learn how to use common dialog boxes. DOWNLOAD the dialog box examples here
iczelion tut10 (转)
iczelion tut10 (转)[@more@]Tutorial 10: Dialog Box as Main Window Now comes the really interesting part about GUI, the dialog box. In this tutorial (and the next), we will learn how to use a dialog box as our main window. DOWNLOAD the first example here, the second example here. Theory:If you play with the examples in the previous tutorial long enough, you 'll find out that you cannot change input focus from one child window control to another with Tab key. The only way you can do that is
报表设计 (转)
报表设计 (转)[@more@].NET/cnshare/soft.ASP?class=219">http://www.csdn.net/cnshare/soft.asp?class=219 一个是将(商务管理软件)开发人员的报表设计工作量降为零,同时为最终用户提供“简单易用(这很重要)”、“功能强大”、“灵活方便”的报表自定义途径的报表组件。========================================================================SReport 是谁?============= 一个是将(商务管理软件)开发人员的报表设计工作量降为零,同时为最终用户提供“简单易用(这很重要)”、“功能强大”、“灵活方便”的报表自定
出版文字作品报酬规定 (转)
出版文字作品报酬规定 (转)[@more@]出版文字作品报酬规定 (国家版权局1999年4月)第一条 为保护文字作品作者的著作权,维护文字作品出版者的合法权益,促进文字作品的创作与传播,根据《中华人民共和国著作权法》,制定本规定。 第二条 本规定只适用以纸介质出版的文字作品。 第三条 除著作权人与出版者另有约定外,出版社、报刊社出版文字作品,应当按本规定向著作权人支付报酬。 第四条 支付报酬可以选择基本稿酬加印数稿酬,或版税,或一次性付酬的方式。 基本稿酬加印数稿酬,指出版者按作品的字数,以千字为单位向作者
Java Scoket (转)
Java Scoket (转)[@more@]/* * Copyright (c) 2000 David Flanagan. All rights reserved. * This code is from the book Java Examples in a Nutshell, 2nd Edition. * It is provided AS-IS, WITHOUT ANY WARRANTY either expressed or implied. * You may study, use, and modify it for any non-commercial purpose. * You may distribute it non-commercially as long as you retain this notice. * For a commercial use license, or to purchase the book (recommended), * visit http:/
No MFC,Only API——菜单的创建和使用 (转)
No MFC,Only API——菜单的创建和使用 (转)[@more@] No MFC,Only api——菜单的创建和使用:XML:namespace prefix = o ns = "urn:schemas-microsoft-com:Office:office" /> 在使用菜单之前,值得一提的是,包含菜单的窗口必须是POPUP-UP或OVERLAPPED风格,才可能拥有菜单。 菜单的创建有三种方法:1,在WINDOWCLASS中指定菜单资源的标识符;2,在CreateWindowEx函数参数中指定菜单句柄;3,先用LoadMenu函数载入菜单资源,再用SetMenu函数把菜单加载到应用程序的菜单栏。 菜单的操作包含:向已存在菜单添加新的菜单项,删除菜单
CORBA的麻烦事... (转)
CORBA的麻烦事... (转)[@more@]The Trouble With Corba David Chappell - May 1998 I would really like to be a CORBA believer. I spent much of my career working in the open systems world,and I know that multi-vendor standards can do great things for our industry. CORBA has long held out the promise of being this kind of standard, but sadly, it has never met that promise. Even worse, it's becoming clear that it never will. Cataloging CORBA's Problems: A Short ListTraditionally, standardization has foc
C# 读取XML文档 (转)
C# 读取XML文档 (转)[@more@]这里介绍一种读取XML文档的方法,如果哪位有更好的方法,可以交流. 示例中用的是 XmlTextReader 函数,每执行 Read() 一次,读取一行. using System.Xml; public KSBMCONFIG ReadConfig(string XmlConfigFile) { KSBMCONFIG _conf = new KSBMCONFIG (); try { // Open an XML file System.Xml.XmlTextReader reader; reader = new System.Xml.XmlTextReader(XmlConfigFile); while ( reader.Read() ) { if((reader.NodeType == XmlNodeType.EndElemen
STL程序设计实践七:尽量定义class形式的Function Object (转)
STL程序设计实践七:尽量定义class形式的Function Object (转)[@more@]STL程序设计实践七:尽量定义class形式的Function objectXML:namespace prefix = o ns = "urn:schemas-microsoft-com:Office:office" /> 袁小凯 华南理工大学计算机研究所北区研发二部 EMail – ccplusplus@21cn.com 前言 在使用STL进行程序设计时,你会经常用到Function Object,尤其是在写一个泛型算法并充许把行为参数化时。Function Object简单点讲分两种:1.函数指针(最简单的Function Object)。2.class形式的Function Object。 1. 函
STL程序设计实践六:自定义类型尽量定义恒等和小于操作符 (转)
STL程序设计实践六:自定义类型尽量定义恒等和小于操作符 (转)[@more@]STL程序设计实践六:自定义类型尽量定义恒等和小于操作符XML:namespace prefix = o ns = "urn:schemas-microsoft-com:Office:office" /> 袁小凯 华南理工大学计算机研究所北区研发二部 EMail – ccplusplus@21cn.com 比较操作是非常一般的操作,在使用STL进行程序设计时也是如此。比较操作有六种,分别是:==、!=、>、<、>=、<=。C++内建的数据类型对这些比较操作都提供支持。但要对自定义类型进行比较操作时需要用户定义操作符,否则不能