原地址:http://www.cplusplus.com/doc/tutorial/classes2/Special members[NOTE: This chapter requires proper understanding of dynamically allocated memory]Special member functions are member functions that... Read More
posted @ 2014-03-07 04:27 刺客主谋 Views(238) Comments(0) Diggs(0) Edit
原地址:http://marsfreewill.blogspot.it/2012/08/mac-ospythonpydeveclipse.html在MAC OS上配置Python开发环境(PyDev+Eclipse)用了一段时间的Python IDLE,感觉不是很好用,所以尝试配置PyDev+Eclipse,因为在Eclipse下开发实在是太方便了,而且GAE、Django在Eclipse下开... Read More
posted @ 2014-03-06 02:28 刺客主谋 Views(3430) Comments(0) Diggs(0) Edit
Declaration of variablesC++ is a strongly-typed language, and requires every variable to be declared with its type before its first use. This informs the compiler the size to reserve in memory for th... Read More
posted @ 2014-03-02 00:05 刺客主谋 Views(233) Comments(0) Diggs(0) Edit
Overloading operatorsClasses, essentially, define new types to be used in C++ code. And types in C++ not only interact with code by means of constructions and assignments. They also interact by means... Read More
posted @ 2014-03-01 18:23 刺客主谋 Views(239) Comments(0) Diggs(0) Edit
Classes are an expanded concept of data structures: like data structures, they can contain data members, but they can also contain functions as members.An object is an instantiation of a class. In te... Read More
posted @ 2014-02-28 05:42 刺客主谋 Views(289) Comments(0) Diggs(0) Edit
测试平台:macbook air 2012 , os x 10.9.2 , eclipse 4.3在升级了 10.9 之后,eclipse 的CDT 无法正常使用了异常表现:1. 文件乱码2. command + b 后异常的错误(编译异常)3.Launch Failed Binary Not Found4. eclipse 无法debug解决方法:1. project--p... Read More
posted @ 2014-02-27 05:00 刺客主谋 Views(539) Comments(0) Diggs(0) Edit
原文地址:http://en.wikipedia.org/wiki/Virtual_functionInobject-oriented programming, avirtual functionorvirtual methodis afunctionormethodwhose behavior can beoverriddenwithin an inheriting cla... Read More
posted @ 2014-02-27 02:46 刺客主谋 Views(187) Comments(0) Diggs(0) Edit
原文地址:http://nootrix.com/2013/08/ros-namespaces/In this tutorial, we will be talking about ROS namespaces which allow to combine nodes in ways unplanned by developers. This is actually what all ROS is... Read More
posted @ 2014-02-23 23:46 刺客主谋 Views(2421) Comments(0) Diggs(0) Edit
Data structuresAdata structureis a group of data elements grouped together under one name. These data elements, known asmembers, can have different types and different lengths. Data structures can ... Read More
posted @ 2014-02-22 01:47 刺客主谋 Views(208) Comments(0) Diggs(0) Edit
In the programs seen in previous chapters, all memory needs were determined before program execution by defining the variables needed. But there may be cases where the memory needs of a program can o... Read More
posted @ 2014-02-05 17:39 刺客主谋 Views(452) Comments(0) Diggs(0) Edit