随笔分类 -  文章转载

转载别人的好文章
RES Protocol
摘要:详细地介绍一下res://协议的详细用法。Res: //协议是IE 4.0预定义的一个协议,它的基本语法正如你所说的。其中resource file指的是含有资源的模块的文件名,请注意这里的路径分隔符只能使用“\”,而不能使用“/”。 Resourcetype是资源类型,它是一个字符串或数字。常用的资源类型都对应着一个数,比如BITMAP对应着RT_BITMAP=2,这些常数定 义在VC++的WI... 阅读全文
posted @ 2005-08-08 22:20 Michael Zhao 阅读(912) 评论(0) 推荐(0) 编辑
Creating a Dialog-based App(转载)
摘要:Creating a Dialog-based App Home Back To Tips Page This is one o... 阅读全文
posted @ 2005-05-13 11:35 Michael Zhao 阅读(1301) 评论(0) 推荐(0) 编辑
Unicode-enabling Microsoft C/C++ Source Code(转载)
摘要:Cheat Sheet:Unicode-enabling Microsoft C/C++ Source Code Contents Initial Steps I/O, Database Stream I/O BOM Values Constants & Globals Data Types Platform String API TCHAR String API References ... 阅读全文
posted @ 2005-05-13 11:02 Michael Zhao 阅读(3033) 评论(0) 推荐(0) 编辑
Building Unicode applications in MFC(转载)
摘要:What's The Point? Windows NT4 and 2K run on Unicode. A great many of the net API functions provided by Microsoft® require Unicode and translating strings in and out of Unicode just to pu... 阅读全文
posted @ 2005-05-13 09:53 Michael Zhao 阅读(630) 评论(0) 推荐(0) 编辑
Int,Float,Char *,CString之间的转换(转载)
摘要:Int,Float,Char *,CString之间的转换 Int 转CString : int n=1; CString str; str.Format("%d",n); CString 转 Int CString str="1"; int n=atoi(str.GetBuffer(0)); char * 转 CString: char sz[128]; CString s... 阅读全文
posted @ 2005-05-12 18:06 Michael Zhao 阅读(12815) 评论(3) 推荐(0) 编辑
Adding Entries to the Standard Context Menu(转载 from msdn)
摘要:Adding Entries to the Standard Context Menu Internet Development Index This tutorial explains how to add an entry into the standard context menus in Microsoft Internet Explorer that executes... 阅读全文
posted @ 2005-05-07 18:11 Michael Zhao 阅读(732) 评论(0) 推荐(0) 编辑
Visual C++线程同步技术剖析 (转载)
摘要:作者:中国电波传播研究所 郎锐■来自:yesky 摘要: 多线程同步技术是计算机软件开发的重要技术,本文对多线程的各种同步技术的原理和实现进行了初步探讨。关键词: VC++6.0; 线程同步;临界区;事件;互斥;信号量; 正文 使线程同步 在程序中使用多线程时,一般很少有多个线程能在其生命期内进行完全独立的操作。更多的情况是一些线程进行某些处理操作,而其他的线程必须对其处理结果进行了解... 阅读全文
posted @ 2005-04-27 10:14 Michael Zhao 阅读(20072) 评论(5) 推荐(1) 编辑
Singleton模式的C++实现研究(转载)
摘要:Singleton模式的C++实现研究 张友邦 摘 要 本文提出了三种Singleton模式的实现方式,并做了对比分析。 关键字 设计模式,Singleton Singleton (单件)模式是一种很常用的设计模式。《Design Patterns》对它作的定义为:Ensure a class only has one instance, and provide... 阅读全文
posted @ 2005-04-26 08:06 Michael Zhao 阅读(2171) 评论(0) 推荐(0) 编辑
STL背景知識(转载)
摘要:Vector vector 是一種Sequence(可變長度的容器,元素依照線性方式儲存),支援隨機存取元素,新增 或是刪除尾端(end)的元素只要常數時間(Constant Time, O(1)),新增或刪除前端或是中間(at the beginning or in the middle)元素需要線性時間(Linear Time, O(N) ),元素的個數可以動態改變, 記憶體自動管理。... 阅读全文
posted @ 2005-04-05 15:32 Michael Zhao 阅读(464) 评论(0) 推荐(0) 编辑
Developpeur Reference对Bjarne Stroustrup的采访(转载)
摘要:1.C++的ANSI/ISO标准化过程时间很长,直到1998年才完成。对于没能在更短的时间内完成该项工作,您感到遗憾吗? 您认为这减缓了C++的“渗透”吗(举个例子,在教育领域,许多人继续教授C语言,并声称C++还没有被标准化,这种境况真让人恼火)? 您认为这减缓了C++的进化了吗(标准库的更好的进化,对分布式计算的考虑……)? Bjarne Stroust... 阅读全文
posted @ 2005-04-05 15:19 Michael Zhao 阅读(505) 评论(0) 推荐(0) 编辑
Visual C++.NET中 字符串转换方法(转载)
摘要:Visual C++.NET中 字符串转换方法[1] 2002-12-06 14:48:39 丁有和 Visual C++.NET涉及到ATL/ATL Server、MFC和托管C++等多种编程方式,不仅功能强大而且应用广泛。在编程中,我们常常会遇到ANSI、Unicode以及BSTR不同编码类 型的字符串转换操作。本文先介绍基本字符串类型,... 阅读全文
posted @ 2005-03-30 15:23 Michael Zhao 阅读(822) 评论(0) 推荐(0) 编辑