收录查询
摘要: 原文地址:http://www.codeproject.com/Articles/10330/A-simple-IOCP-Server-Client-ClassDownload demo project v.1.16 - 64.66 Kb Download source v1.16 - 154.59 Kb Download other client/server implementations using this source code, here. 1.1 RequirementsThe article expects the reader to be familiar with C++, 阅读全文
posted @ 2012-07-15 19:22 -> 阅读(803) 评论(0) 推荐(0) 编辑
摘要: The Code Project is constantly growing, with hundreds of new articles added monthly and more sections created to house them. Below is a quick guide to help you find the sections that most interest you... 阅读全文
posted @ 2006-08-18 21:25 -> 阅读(618) 评论(0) 推荐(0) 编辑
摘要: The Microsoft Foundation Class Library can be divided into two major sections: (1) the MFC classes and (2) macros and globals. If a function or variable is not a member of a class, it is a global func... 阅读全文
posted @ 2006-08-18 21:19 -> 阅读(445) 评论(0) 推荐(0) 编辑
摘要: Matt Pietrek October 1996 MSJMatt Pietrek is the author ofWindows 95 System Programming Secrets(IDG Books, 1995). He works at NuMega Technologies Inc., and can be reached at 71774.362@compuserve.com.QWay back in your July 1994 column, you wrote about shrinking the size of a 16-bit executable for Bor 阅读全文
posted @ 2014-02-27 22:06 -> 阅读(409) 评论(0) 推荐(0) 编辑
摘要: Matt PietrekDownload the code for this article: Hood0101.exe (45KB)Way back in my October 1996 column inMSJ, I addressed a question concerning the size of executable files. Back then, a simple Hello World program compiled to a 32KB executable. Two compiler versions later, the problem is only slightl 阅读全文
posted @ 2014-02-27 21:58 -> 阅读(424) 评论(0) 推荐(0) 编辑
摘要: TN035: Using Multiple Resource Files and Header Files with Visual C++This note describes how the Visual C++ resource editor supports multiple resource files and header files shared in a single project or shared across multiple projects and how you can take advantage of that support. This note answer 阅读全文
posted @ 2014-02-25 19:02 -> 阅读(401) 评论(0) 推荐(0) 编辑
摘要: http://v.youku.com/v_show/id_XMTA4ODEwNjM2.htmlThe quick brown fox jumps over the lazy dog.一只敏捷的棕色狐狸跳到了一只懒狗身上。据说该句是包含所有26个字母的最短的句子。1句9词26字-----------微软MSDN中常用来做各种字符串比较操作的例子。MSDN2001Example/*STRCMP.C*/#include<string.h>#include<stdio.h>charstring1[]="Thequickbrowndogjumpsoverthelazyf 阅读全文
posted @ 2012-09-03 00:34 -> 阅读(2000) 评论(0) 推荐(0) 编辑
摘要: IO完成端口下面摘抄于MSDN《I/O Completion Ports》,smallfool翻译,原文请参考CSDN文档中心文章《I/O Completion Ports》, http://dev.csdn.net/Develop/article/29%5C29240.shtm 。I/O完成端口是一种机制,通过这个机制,应用程序在启动时会首先创建一个线程池,然后该应用程序使用线程池处理异步I/O请求。这些线程被创建的唯一目的就是用于处理I/O请求。对于处理大量并发异步I/O请求的应用程序来说,相比于在I/O请求发生时创建线程来说,使用完成端口(s)它就可以做的更快且更有效率。CreateIo 阅读全文
posted @ 2012-07-15 19:27 -> 阅读(594) 评论(0) 推荐(0) 编辑
摘要: http://f4l.sourceforge.net/顺便COPY段代码先扔这里:--- d:\vsprojects\vcpros\consolepros\vckbase1\first.cpp -------------------1: #include <stdio.h>2:3: int main(int argc, char** argv, char** envp)4: {0040... 阅读全文
posted @ 2006-09-24 17:31 -> 阅读(789) 评论(0) 推荐(0) 编辑
摘要: (1)袁峰精: 很多东西都有更好的方法, 不要满足于做出来而已深: 看看 David Solomon, Jeffrey Richter, John Robbins, 和我的书,再和 Charles Petzold 的书比比你就知道深浅之别迁: 找高人所在著: 写东西是很好的学习器: 写工具程序, 见 www.sysinternals.com(2)各种操作系统平台开发GUI程序使用的库的介绍High... 阅读全文
posted @ 2006-07-27 18:31 -> 阅读(532) 评论(0) 推荐(0) 编辑
摘要: 所有资源都来源于Internet..........,很多的问题答案给得太死,实际上可以有多种答案,有的非让你说出来2条可能说起来一条就能够表达的很清楚了,贴这些考试题目的目的是“温故而知新!!”文章来源于:http://www.itquan.com/user1/2059/subject/163.html发布之前先申明两点: 1 所有资料来自网络(主要是CSDN),本人只是... 阅读全文
posted @ 2006-06-10 08:17 -> 阅读(7032) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://blog.vckbase.com/bruceteen/archive/2005/09/16/12160.html#include <iostream>using namespace std;template <size_t n> void foo( void ){ cout << n << endl;};void bar1( ... 阅读全文
posted @ 2006-03-25 23:55 -> 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 转贴文同样没给出出处,所以本文省略出处........一:一个目标 一艘没有航行目标的船,任何方向的风都是逆风 1、你为什么是穷人,第一点就是你没有立下成为富人的目标 2、你的人生核心目标是什么? 杰出人士与平庸之辈的根本差别并不是天赋、机遇,而在于有无目标。 3、起跑领先一步,人生领先一大步:成功从选定目标开始 4、贾金斯式的人永远不会成功 为什么大多数人没有成功?真正能完成自己计划的人只有5%... 阅读全文
posted @ 2006-03-21 22:39 -> 阅读(570) 评论(0) 推荐(0) 编辑
摘要: Official resourcesMSDNVisual C++ Homemicrosoft.public.vc.languageThe TopCodeGuruCodeProjectDeveloperFusion.comC/C++ Users JournalRSDN (RU)First Steps (RU)Sources.ru (RU)Tricks, Tips, FAQsBjarne Strous... 阅读全文
posted @ 2006-03-17 23:07 -> 阅读(666) 评论(0) 推荐(0) 编辑
摘要: 为了方便查阅,原文地址: http://www.codeproject.com/cpp/cppforumfaq.asp#mfc_cstrtopchar===============================================================================About This FAQLatest additions and updates.Wel... 阅读全文
posted @ 2006-03-17 22:42 -> 阅读(1956) 评论(0) 推荐(0) 编辑
摘要: 找到类似这样问题的解决办法:“Loaded ’D:\WINDOWS.0\system32\kernel32.dll’, no matching symbolic information found.“通常使用VC6.0的时候,安装过后在开始菜单中有:Microsoft Visual Studio 6.0-> Tools->Windows ... 阅读全文
posted @ 2006-03-02 12:22 -> 阅读(1391) 评论(0) 推荐(0) 编辑
摘要: (1)WINDOWS阵营 <----------> 非WINDOWS阵营(2)C/C++阵营 <----------> 非C/C++阵营......................................................................................这导致了4类人:(1)[狭义]能够游弋于绳子两端的人,自是功力深厚.... 阅读全文
posted @ 2006-02-26 22:14 -> 阅读(542) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://blog.csdn.net/toby/archive/2004/10/24/149366.aspx我怎么又比别人晚了进2年的时间,后面我会重新写一篇文章,算是对该文的整理吧!C++里virtual的缺陷就是vtable会增大代码的尺寸,看vcl时,object pascal里virtual也有vtable的问题,于是又了dynamic,两种方法各有利弊。但是在C++里却没有... 阅读全文
posted @ 2006-02-25 22:37 -> 阅读(980) 评论(0) 推荐(0) 编辑
摘要: 文章来源:http://www.exuetang.net/article/View.aspx?NewsID=831、分粥   有七个人曾经住在一起,每天分一大桶粥。要命的是,粥每天都是不够的。一开 始,他们抓阄决定谁来分粥,每天轮一个。于是乎每周下来,他们只有一天是饱的,就是自己分粥的那一天。后来他们开始推选出一个道德高尚的人出来分粥。强权 就会产生腐败,大家开始挖空心思去讨好他,贿赂他,搞得整个... 阅读全文
posted @ 2006-02-25 13:47 -> 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 来源于MSDN2001中文章:TN024: MFC-Defined Messages and ResourcesMFC private Windows messages are in the range 0x360->0x37F.//MFC私有消息范围:0x360->0x37FMFC private resource types are in the range 0xF0->0x... 阅读全文
posted @ 2006-02-24 16:13 -> 阅读(1217) 评论(0) 推荐(0) 编辑
摘要: Teach Yourself Programming in Ten Years 为什么每个人都急不可耐?走进任何一家书店,你会看见《Teach Yourself Java in 7 Days》(7天Java无师自通)的旁边是一长排看不到尽头的类似书籍,它们要教会你Visual Basic、Windows、Internet等等,而只需要几天甚至几小时。我在Amazon.com上进行了如下搜索:pub... 阅读全文
posted @ 2006-01-15 21:34 -> 阅读(476) 评论(0) 推荐(0) 编辑
摘要: 原型:[virtual]void CObject::AssertValid() const //说明:该成员函数只能对成员变量做"引用型"操作,不能做"加工型"操作{ASSERT(this != NULL);}MSDN:When you write your own class, you should override the AssertValid function to provide dia... 阅读全文
posted @ 2005-12-17 18:26 -> 阅读(419) 评论(0) 推荐(0) 编辑
摘要: anyType anyName;anyType anyName();anyType anyName(Type1 LocalName1, Type2 LocalName2, Type3 LocalName3, .......); 阅读全文
posted @ 2005-12-15 22:38 -> 阅读(373) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h"#ifdef AFX_INIT_SEG#pragma code_seg(AFX_INIT_SEG)#endif#ifdef _DEBUG#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif////////////////////////////////////////////////////////... 阅读全文
posted @ 2005-12-14 23:34 -> 阅读(1013) 评论(0) 推荐(0) 编辑
摘要: MSDN2001中一些文章的标题 阅读全文
posted @ 2005-08-11 17:03 -> 阅读(711) 评论(0) 推荐(0) 编辑