会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
boyang987
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
下一页
2015年1月23日
MFC 消息映射(一)
摘要: ---恢复内容开始--- 最近在看《深入浅出MFC》一书。消息映射流程图如下:在此附加上不实用MFC Wizard 编写的简单MFC窗口程序,纯粹为学习消息映射。下载地址:Hello.06。MFC 程序入口: 1 int AFXAPI AfxWinMain(HINSTANCE hInstance,...
阅读全文
posted @ 2015-01-23 18:06 boyang987
阅读(356)
评论(0)
推荐(0)
2015年1月20日
VS2013 + Win8.1 创建的Win32 SDK程序模板
摘要: 1 // simpleMFC.cpp : 定义应用程序的入口点。 2 // 3 4 #include "stdafx.h" 5 #include "simpleMFC.h" 6 7 #define MAX_LOADSTRING 100 8 9 // 全局变量: 10 HI...
阅读全文
posted @ 2015-01-20 11:14 boyang987
阅读(558)
评论(0)
推荐(0)
Windows 通过拖拽得到文件路径
摘要: 主要用到两个函数,DragAcceptFiles() 与 DragQueryFile。DragQueryFile原型如下:UINT DragQueryFile( HDROP hDrop, UINT iFile, LPTSTR lpszFile, UINT cch );hDr...
阅读全文
posted @ 2015-01-20 10:12 boyang987
阅读(1009)
评论(0)
推荐(0)
2015年1月15日
Linux 应用程序 之 IO编程(一)
摘要: 我的linux 环境是windows8.1 + VMware6.5.1+ Fedora14,参考书籍:第六章 链接:Linux应用程序开发详解(1-11).pdf我利用一个SSH软件SSH Secure File Transfer Client 来从Linux传输文件来张虚拟机运行Fedora的...
阅读全文
posted @ 2015-01-15 17:32 boyang987
阅读(339)
评论(0)
推荐(0)
2015年1月14日
sqlLite 接口的使用 包含MFC控件CListCtrl代码示例
摘要: SqlLite是一款轻型的数据库,是遵守ACID的关系型数据库管理系统,它包含在一个相对小的C库中。它是D.RichardHipp建立的公有领域项目。它的设计目标是嵌入式的,而且目前已经在很多嵌入式产品中使用了它,它占用资源非常的低,在嵌入式设备中,可能只需要几百K的内存就够了。它能够支持Win...
阅读全文
posted @ 2015-01-14 17:58 boyang987
阅读(833)
评论(0)
推荐(0)
2015年1月12日
VC dumpbin dll 导出 lib
摘要: 最近下载到一个LUA5.1的demo程序,工程中只有lua.5.1.dll动态库,却无相应引入库。本人编译环境是win8.1+vs2013,下面说明dll导出lib的步骤:1.安装VS后在命令行模式下切换到VS 编译环境:2.输入命令dumpbin lua5.1.dll /EXPORTS > lu...
阅读全文
posted @ 2015-01-12 10:36 boyang987
阅读(757)
评论(0)
推荐(0)
2014年12月9日
STL 迭代器研究 iterator , 自创代码MYList
摘要: 先来看看链表的实现: MyList.hpp 代码:#ifndef __MYLIST__#define __MYLIST__#include using namespace std;templatestruct _Node{ _Node() { memset(&data, 0, sizeof(Ty...
阅读全文
posted @ 2014-12-09 18:22 boyang987
阅读(269)
评论(0)
推荐(0)
2014年12月8日
STL 迭代器研究 iterator , 自创代码MYList
摘要: 先来看看链表的实现: MyList.hpp 代码:#ifndef __MYLIST__#define __MYLIST__#include using namespace std;templatestruct _Node{ _Node() { memset(&data, 0, sizeof(Ty...
阅读全文
posted @ 2014-12-08 18:42 boyang987
阅读(52)
评论(0)
推荐(0)
C++各个运算符重载实例
摘要: // OperatorRewrite1.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include using namespace std;enum style_enum{ zero, one, two, three };class CFraction{pri...
阅读全文
posted @ 2014-12-08 11:23 boyang987
阅读(359)
评论(0)
推荐(0)
std::cout<< var ,这个是如何识别变量的呢
摘要: std::cout<< var ,这个是如何识别变量的呢?主要用到函数 typeid();参考【typeid详解】http://www.cppblog.com/smagle/archive/2010/05/14/115286.html;
阅读全文
posted @ 2014-12-08 10:43 boyang987
阅读(80)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
下一页
公告