摘要: linux 的文件结构linux 下的bin 目录,包含了常用的命令应用程序/bin: bin为binary的简写主要放置一些系统的必备执行档例如:cat、cp、dmesg、gzip、kill、ls、mkdir、more、mount、rm、su、tar, etc。/usr/bin:主要放置一些应用软体工具的必备执行档例如c++、g++、gcc、chdrv、diff、dig、du、eject、elm、free、gnome*、 gzip、htpasswd、kfm、ktop、last、less、locale、m4、make、man、mcopy、ncftp、 newaliases、nslookup p 阅读全文
posted @ 2013-07-30 14:58 iDragon 阅读(518) 评论(0) 推荐(0)
摘要: Function object is very userful to use member function or non-member function as callback mechanism, Same as event or delegate in C#.For pointer to object 1 template 2 class MemFunctionObject : public binary_function 3 { 4 Return (Type::*pMemFunction)(Argument); 5 public: 6 explicit MemFuncti... 阅读全文
posted @ 2013-07-30 10:43 iDragon 阅读(278) 评论(0) 推荐(0)
摘要: Layering & Contract Philosophy With additional indirectionPrototypeThe example code is as following: 1 class CObject 2 { 3 public: 4 virtual CObject* clone() const = 0; 5 virtual void BasicOperation() = 0; 6 } 7 //clone is a virtual method, its return type can be differ... 阅读全文
posted @ 2013-07-30 09:17 iDragon 阅读(198) 评论(0) 推荐(0)
摘要: Layering & Contract Philosophy With additional indirectionFactory MethodThe example code is as following: 1 class CProduct //interface declaration 2 class CConcreteProductOne: public CProduct; 3 class CConcreteProductTwo: public CProduct; 4 5 6 class CCreator 7 { 8 public: virtual CProduct* F... 阅读全文
posted @ 2013-07-30 08:58 iDragon 阅读(248) 评论(0) 推荐(0)
摘要: Programming language evolves always along with Compiler's evolvementThe semantics of constructorsOne of the most often heard complaints about C++ is that the compiler does things behind the programmer’s back. We shall know how underlying compiler do with our programming, what it does to our prog 阅读全文
posted @ 2013-07-29 18:26 iDragon 阅读(226) 评论(0) 推荐(0)
摘要: 高屋建瓴From Up to Down.Outside into inside.Interface-Oriented Framework with dynamic configuration.SOA:Service-Oriented Architecture.一。总述三种方式:WPFOSGiSOA Architecture二。看看一些系统架构Windows 架构,架构变迁的从提供功能到以服务为核心。 Service-CenteredLinux 系统架构Windows Metro SystemAndroid System Structure. Underscore the concept of 阅读全文
posted @ 2013-07-29 17:58 iDragon 阅读(1298) 评论(0) 推荐(0)
摘要: 由于项目一个功能需要,可以将关键字的值叠加加来,最终可以获取对这些关键字都做了些什么操作。Generic Programming is very powerful. 1 /// 2 /// 3 /// 4 /// 5 public class CXSpecialDictionary : Dictionary 6 { 7 /// 8 /// 9 /// 10 /// 11 /// 12 public new string this[TKey ... 阅读全文
posted @ 2013-07-26 10:57 iDragon 阅读(215) 评论(0) 推荐(0)
摘要: 高屋建瓴From Up to DownOutside into insideThe Internet Of Things. http://wenku.baidu.com/view/5cdc0266ddccda38366baf00.htmlhttp://www.networkcultures.org/_uploads/notebook2_theinternetofthings.pdfFrom view of hardwareFrom view of software 阅读全文
posted @ 2013-07-26 10:23 iDragon 阅读(250) 评论(0) 推荐(0)
摘要: 我是利用在window环境下载好JDK,然后传到VMware中linux中下载JDK http://www.oracle.com/technetwork/java/javase/downloads/index.htmlwindow 中安装 SSH ClientVMware 中的Linux 配置 SSH, Linux 设置桥接模式的 network,IP 和Window IP在同一个网段。设置Linux IP, reference to: http://www.cnblogs.com/xd502djj/archive/2011/03/01/1967800.htmlIP 配置好以后,就需要配置SS 阅读全文
posted @ 2013-07-26 10:10 iDragon 阅读(539) 评论(0) 推荐(0)
摘要: Layering & Contract Philosophy With additional indirectionAbstract Factory 1 //The example code is as following: 2 class CAbstractProductA; 3 class CAbstractProductB; 4 // multiple families of products. 5 class CProductA1:public CAbstractProductA; 6 class CProductB1:public CAbstractProdu... 阅读全文
posted @ 2013-07-26 08:59 iDragon 阅读(298) 评论(0) 推荐(0)