摘要:
Simulate Message Mapping 转载注明:http://www.cnblogs.com/macroslee/archive/2011/10/18/2216339.html文章有什么不知或错误,恳请指正,谢谢!Step 1: In SDK application, you handle a message by means of switch/case .But in MFC , you must use a message map to find the correct handler.But how to design,Message1------------------- 阅读全文
摘要:
转载注明:www.cnblogs.com/shiyangxt【转】C++复习总结///////////////////////////////////////////////////////////////////////////1.函数模板:实际上是建立一个通用函数,其函数类型和参数类型不具体指定,用一个虚拟的类型来代表,这个通用函数就是函数模板。#include<iostream>template<typenameT>Tconst&max(Tconst&a,Tconst&b){returna>b?a:b;}intmain(){intia 阅读全文