自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (5)
  • 收藏
  • 关注

转载 ECSHOP源码分析

Ecshop包括的文件夹有admin、api、cert、data、images、includes、js、languages、plugins、temp、theme、wap、widget这些文件夹,和根目录下的所有.php文件。这些文件和文件夹组成了整个ecshop。如果从软件工程角

2011-08-26 16:23:21 2538

原创 赋值运算符重载函数

问题:给出如下CMyString的声明,要求为该类型添加赋值运算符函数。 class CMyString{public:    CMyString(char* pData = NULL);    CMyString(const CMyString& str)

2011-07-06 02:20:58 1199

原创 如何阅读PostgreSQL源代码?

在LINUX环境下阅读源代码,比较流行的方法是:vim + ctags,而且可以很方便的调试代码,但比较麻烦的是,需要结合个人习惯配置vim,对于大多数人来讲,使用起来通常很不习惯。在WINDOWS下,有很强大的代码阅读工具:source insight,但是

2011-07-06 01:40:09 3096

原创 网站推荐

IT程序员面试网:http://itmian.com/

2011-06-06 12:41:00 550

原创 用遗传算法求解Ackley函数

第一部分讲解了遗传算法的基本原理和框架,对遗传算法的主要工作流程和操作算子作了整体分析。第二部分结合Ackley函数优化问题,讲解了遗传算法中个体编码方式、适应函数的选取、父体选择策略、杂交算子、变异算子、参数设置以及演化终止条件等的具体实现过程。

2011-02-03 18:30:00 12282 5

原创 C++调用dll文件(由lib文件生成)

现有两个文件chatting.h和chatting.lib,将其做成dll文件后,怎样被C++调用? 解决办法如下:   1. 创建dllChatting工程        与"java调用由LIB生成的DLL"不同在于dllChatting.cpp和dllChatting.def的内容不同。/****************************************

2009-08-22 17:30:00 2772

原创 用JNI技术Java调用dll文件(由lib文件生成)

      现有两个文件chatting.h和chatting.lib,但没有源码,要在java中调用chatting中定义的方法print()。由于java只能调用dll文件,不能调用lib文件,因此,现在必须先将chatting.lib转换成chatting.dll,再由java调用。但现在的问题是,将chatting.lib直接转换成chatting.dll是非常困难的(目前还像还没有这样的

2009-08-22 16:41:00 4573 1

原创 用VC++制作Windows下静态链接库文件(lib文件)

怎样生成lib文件chatting.lib,并实现其中的函数:int print(int i);现用vs2008,过程如下:     1. 创建 chatting 工程         1)选择“ Win32 控制台应用程序 ”           2)在“应用程序类型”中选择“静态库”     2.在工程"chatting"中添加文件chatting.h、chatting.cpp和chatt

2009-08-22 10:52:00 1703

原创 DSP学习网站

资料的文档 http://www.ti.com/sc/docs/psheets/man_dsp.htmProgrammable DSP Programmable DSP: Why ? http://www.cae.wisc.edu/~ece734/notes98/pdsp/tsld003.htm Digital Signal Processing (Video Courses) http://ww

2008-05-16 07:28:00 4321

用遗传算法设计适应特殊地形的二维汽车

This program uses a genetic algorithm to design a two-dimensional car that is "optimal" for a particular terrain. The rules of the problem are as follows: * The car must have two wheels (blue circles) and two loads (red circles). * The initial positions and radii of these four masses can be freely chosen by the algorithm. * The masses are connected by springs whose length, damping constant and spring constant can be freely chosen by the algorithm. * The loads must never touch the ground. The optimality of a particular candidate solution (the fitness function) is determined by how far it travels before a) a mass touches the ground or b) time runs out. Note that at the beginning, the algorithm doesn't even know that wheels belong on the bottom. It is sometimes possible to see distinct species emerge and die - for instance, "unicycles" are often quite successful in the early stages of the algorithm's progress.

2011-03-05

C99 reference

C99的标准参考手册,所有的C99标准的C语言函数规则等,都有非常详尽的说明

2009-09-17

C++ Language Tutorial

C++ Language Tutorial

2009-09-17

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除