上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 48 下一页

2010年6月18日

lua的封装luawrapper-luabind-cpplua-tolua

摘要: CppLua,跨平台,用法简单,缺点是接口多,且不能向lua注册类。代码质量一般tolua,跨平台,说是automatically bindC/C++ code to Lua,感觉还是说手动比较恰当,接口繁多。luawrapper, 基于魔板,需要boost支持,功能强大,略有瑕疵(例如函数参数个数不能大于9,当然一般情况下,如果函数参数超过5个,恐怕嘿嘿嘿),代码质量上乘且 代码量最少(少得可怜... 阅读全文

posted @ 2010-06-18 13:08 cutepig 阅读(3627) 评论(2) 推荐(0) 编辑

2010年6月16日

五大开源游戏引擎介绍

摘要: 五大开源游戏引擎介绍http://developer.51cto.com 2009-07-23 13:23 daoshang 译 JavaEye博客 我要评论(2) 本文总结分享了五个开源游戏引擎。对游戏编程初哥来说,选择一个好的游戏引擎是一个很头疼的事。本文介绍的五个游戏引擎不仅被证明是可靠的,而且全部开放源码。 对游戏编程初哥来说,选择一个好的游戏引擎是一个很头疼的事。市面上鱼目混杂,... 阅读全文

posted @ 2010-06-16 23:33 cutepig 阅读(27106) 评论(0) 推荐(1) 编辑

一个简单的threadpool

摘要: Interface如下代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--structJob{void(*func)(void*);void*para;};classThreadPool:noncopyable{public:staticSetNumT... 阅读全文

posted @ 2010-06-16 22:30 cutepig 阅读(483) 评论(0) 推荐(0) 编辑

2010年6月14日

handless UI (direct UI)

摘要: http://www.viksoe.dk/code/windowless1.htmviksoe的代码很好,这个可以被运用到商业上。个人觉得这个框架比mfc甚至wtl的在构架、思想上高N倍。首先 viksoe采用layout机制动态计算各子窗口的坐标位置,自适应屏幕大小的变化。而MFC要求子窗口的坐标位置硬编码,结果要适应不同分辨率的屏幕 非常困难。GTK+在窗口布局时分为两个阶段,第一个阶段父窗口... 阅读全文

posted @ 2010-06-14 13:09 cutepig 阅读(4411) 评论(0) 推荐(1) 编辑

2010年6月13日

wxformbuilder+WxWidgets下载编译使用

摘要: 首先下载WxWidgetshttp://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.11.zip然后解压,打开里面一个INSTALL-MSW.txt, 里面告诉我们用vc打开wxWidgets-2.8.11\build\msw\wx.dsw 这个文件编译即可然后下载 wxformbuilder,选择windows installer (h... 阅读全文

posted @ 2010-06-13 23:51 cutepig 阅读(3003) 评论(0) 推荐(0) 编辑

ptmalloc, dlmalloc

摘要: http://g.oswego.edu/dl/html/malloc.htmlhttp://www.cppblog.com/yangfan/articles/117132.htmlhttp://www.malloc.de/en/http://dev.firnow.com/course/6_system/linux/Linuxjs/2008618/126300.htmlhttp://www.goog... 阅读全文

posted @ 2010-06-13 10:54 cutepig 阅读(459) 评论(0) 推荐(0) 编辑

2010年6月6日

可视化界面工具

摘要: wxWidgets界面设计工具DialogBlocks http://www.cppblog.com/zyzx/archive/2009/03/12/76348.htmlgui builder open sourcehttp://wxformbuilder.org/http://sourceforge.net/projects/wxgladesharpdevelophttp://www.icsha... 阅读全文

posted @ 2010-06-06 17:45 cutepig 阅读(603) 评论(0) 推荐(0) 编辑

2010年6月4日

这几天弄一下

摘要: - jdk 1.6 + eclipse + cdt + mingw00- codeblocks + mingw 调试不大好用-driver studio-研究代码及基本实现原理UI frameworks :qt , gtkmm-poj上的题目 阅读全文

posted @ 2010-06-04 00:21 cutepig 阅读(230) 评论(0) 推荐(0) 编辑

2010年6月1日

poj 题目分类

摘要: http://blog.csdn.net/apachecq/archive/2009/01/16/3793747.aspx初期:一.基本算法: (1)枚举. (poj1753,poj2965) (2)贪心(poj1328,poj2109,poj2586) (3)递归和分治法. (4)递推. (5)构造法.(poj3295) (6)模拟法.(poj1068,poj2632,poj1573,poj29... 阅读全文

posted @ 2010-06-01 08:55 cutepig 阅读(734) 评论(0) 推荐(0) 编辑

JAVA内存模型

摘要: http://www.enet.com.cn/article/2008/0107/A20080107993998.shtmlhttp://www.javaeye.com/topic/108927http://www.99inf.net/softwaredev/java/53946.htm 阅读全文

posted @ 2010-06-01 08:53 cutepig 阅读(177) 评论(0) 推荐(0) 编辑

2010年5月30日

有道难题资格赛(1)

摘要: 参与人数4849提交次数25797 分数   名次1000  1~239700   ~265...400 ~ 450 编号 标题 分数 通过率 通过人数 提交次数 A 另类的异或 150 29% 3405 11947 B 有道搜索框 300 13% 143... 阅读全文

posted @ 2010-05-30 13:38 cutepig 阅读(785) 评论(0) 推荐(0) 编辑

2010年5月29日

NSIS and HM NIS Edit

摘要: ///NSIS and HM NIS Edit NSIS是一个安装程序制作工具http://hmne.sourceforge.net/index.php#Featureshttp://nsis.sourceforge.net/Main_Page 阅读全文

posted @ 2010-05-29 14:57 cutepig 阅读(737) 评论(0) 推荐(0) 编辑

mingw && code::blocks

摘要: ///mingw && code::blockshttp://www.codeblocks.org/downloads/5#windowshttp://gcc.gnu.org/gcc-4.5/cxx0x_status.htmlcode::blocks里面自带了mingw, 但是版本比较旧下面这个链接有可以下载的最新的g++ (v4.5.0)http://www.mingw.org/... 阅读全文

posted @ 2010-05-29 14:56 cutepig 阅读(304) 评论(0) 推荐(0) 编辑

2010有道难题练习赛2

摘要: 1 A:与7无关的数 查看提交统计讨论 时间限制: 1000ms 内存限制: 65536kB 描述 一个正整数,如果它能被7整除,或者它的十进制表示法中某个位数上的数字为7,则称其为与7相关的数.现求所有小于等于n(n<100)的与7无关的正整数的平方和. 输入 输入为一行,正整数n,(n<100) 输出 输出小于等于n的与7无关的正整数的平方和 样例输入 样例输出... 阅读全文

posted @ 2010-05-29 11:52 cutepig 阅读(384) 评论(0) 推荐(0) 编辑

android sdk配置

摘要: tools\android.bat update sdkadb kill-serveradb start-serveradb devices或者直接adb shellset ANDROID_SDK_HOME=E:\test\android-sdk-windows\platforms\android-2.0.1PATH I:\tmp\j2sdk1.4.2_17\jre\bin;%path%;E:\t... 阅读全文

posted @ 2010-05-29 11:51 cutepig 阅读(2019) 评论(0) 推荐(0) 编辑

2010年5月26日

How to create a resizeable dialog box with scroll bars in Visual C++

摘要: How to create a resizeable dialog box with scroll bars in Visual C++http://support.microsoft.com/kb/262954/en-us/ http://msdn.microsoft.com/en-us/library/bb787531%28v=VS.85%29.aspx#wm_paintGetClientRe... 阅读全文

posted @ 2010-05-26 13:17 cutepig 阅读(474) 评论(0) 推荐(0) 编辑

2010年5月25日

VC UI 界面库

摘要: http://cid-47027e68f36cbaf5.spaces.live.com/blog/cns!47027E68F36CBAF5!308.entryMFC界面库: GUIToolkit 和 SYGUI官网: http://www.beyondata.com/ GUIToolkit http://www.codeproject.com/KB/library/guitoolkit.aspx?... 阅读全文

posted @ 2010-05-25 00:12 cutepig 阅读(22301) 评论(2) 推荐(2) 编辑

2010年5月24日

2010有道难题练习赛

摘要: http://poj.youdao.com/nanti/ 题目编号 标题 通过率 通过人数 提交次数 A A + B 12% 1608 9483 B Power 7% ... 阅读全文

posted @ 2010-05-24 23:00 cutepig 阅读(572) 评论(0) 推荐(0) 编辑

2010年5月21日

Longest common subsequence problem

摘要: http://en.wikipedia.org/wiki/Longest_common_subsequence_problemLCS function defined Let two sequences be defined as follows: X = (x1, x2...xm) and Y = (y1, y2...yn). The prefixes of X are X1, 2,...m; ... 阅读全文

posted @ 2010-05-21 20:42 cutepig 阅读(522) 评论(0) 推荐(0) 编辑

活用regex的例子 zz

摘要: 在reddit推荐的文章上看到的。下面的代码在CMD窗口下运行通过。如果在BASH下面运行,单引号和双引号要对调。 perl-wle"print'prime'if(1xshift)!~/^1?$|^(11+?)\1+$/"<任意一个数> Python的代码是: importredefis_prime(num):returnnotre.match(r"^1?$|^(11+?)\1+... 阅读全文

posted @ 2010-05-21 19:50 cutepig 阅读(232) 评论(0) 推荐(0) 编辑

上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 48 下一页

导航