会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小艾利
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2015年1月26日
字符串分割(C++) 转载
摘要: 原文地址:http://www.cnblogs.com/MikeZhang/archive/2012/03/24/MySplitFunCPP.html这篇文章总结的很好,原文出自上面的地址。一、用strtok函数进行字符串分割原型: char *strtok(char *str, const cha...
阅读全文
posted @ 2015-01-26 11:32 小艾利
阅读(211)
评论(0)
推荐(0)
2015年1月25日
C++ Stream与编码转换
摘要: 1.自己动手改造codecvt来读写Unicode(LE)代码:#include #include #include #include "TextCodeChange.h"using namespace std;//#define endl L"\r\n"int main(){ locale ...
阅读全文
posted @ 2015-01-25 14:11 小艾利
阅读(1504)
评论(0)
推荐(1)
2015年1月21日
wxWidgets界面设计工具DialogBlocks(转载)
摘要: wxWidgets界面设计工具DialogBlocks // * create by zyzx // * 2009-3-12 // * 转载请注明来源:http://www.cppblog.com/zyzx 工欲善其事,必先利其器。在MFC上开发,有VS系列强大的可视化工具,基于wx的开发工具虽然没...
阅读全文
posted @ 2015-01-21 20:33 小艾利
阅读(1129)
评论(0)
推荐(0)
2015年1月5日
WIN32窗口模板
摘要: 1 // WINATLTest.cpp : 定义应用程序的入口点。 2 // 3 4 #include "stdafx.h" 5 #include "WINATLTest.h" 6 7 #define MAX_LOADSTRING 100 8 9 // 全局变量: 10 H...
阅读全文
posted @ 2015-01-05 22:55 小艾利
阅读(418)
评论(0)
推荐(0)
2014年12月24日
WTL对话框应用程序响应键盘消息
摘要: 修改对话框程序的PreTranslateMessage()消息 1 BOOL CMainDlg::PreTranslateMessage(MSG* pMsg) 2 { 3 int nCurSel; 4 if((nCurSel = m_wndOutputList.GetCurSel()...
阅读全文
posted @ 2014-12-24 09:38 小艾利
阅读(591)
评论(0)
推荐(0)
2014年10月23日
常用网站
摘要: http://sourceforge.jp/
阅读全文
posted @ 2014-10-23 16:04 小艾利
阅读(124)
评论(0)
推荐(0)
2014年10月14日
1.将文件间的编译依存关系降至最低
摘要: 问题描述:Person.h#include #include "Date.h"class Person{public:Person(const std::string& name,const Date& birthday);std::string name() const;std::string b...
阅读全文
posted @ 2014-10-14 10:12 小艾利
阅读(252)
评论(0)
推荐(0)
2014年9月10日
Windows下编码转换相关(UTF-8 & UTF-16)
摘要: 一、ANSI转换为UTF-16#include wchar_t* AnsiToUnicodeBegin(const char* str){ char* sz = new char[strlen(str)+1]; strcpy(sz, str); int wLen = MultiByteT...
阅读全文
posted @ 2014-09-10 22:49 小艾利
阅读(1869)
评论(0)
推荐(0)
2014年9月5日
在C\C++中调用Lua
摘要: 1.C\C++程序中调用Lua函数方法一:#include "stdafx.h"#include #include #include #include "lua.hpp"const char* lua_function_code = "function dealStr(str) \ ...
阅读全文
posted @ 2014-09-05 13:22 小艾利
阅读(330)
评论(0)
推荐(0)
2014年5月19日
Lua学习
摘要: http://www.cnblogs.com/stephen-liu74/category/360139.htmlhttp://www.cnblogs.com/lancidie/archive/2011/01/31/1948379.htmlhttp://www.cnblogs.com/lancidi...
阅读全文
posted @ 2014-05-19 16:36 小艾利
阅读(124)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告