03 2017 档案

摘要:In Mac, the issue image: 1. A existing cmake project on disk 2. import this project into Eclipse. 3 run cmake 4. Build and Run this project on Eclipse 阅读全文
posted @ 2017-03-30 08:02 TonyYPZhang 阅读(1229) 评论(0) 推荐(0)
摘要:In Mac OSX, The Issue Image: 1. Build the project on Eclipse successfully. 2. Run gdb on command line successfully. So the gdb has been installed on t 阅读全文
posted @ 2017-03-30 06:51 TonyYPZhang 阅读(2790) 评论(0) 推荐(0)
摘要:This error is that the default lanch configuration is not being created for this project. To solve it, Need to do: Your launch configuration should lo 阅读全文
posted @ 2017-03-29 21:58 TonyYPZhang 阅读(436) 评论(0) 推荐(0)
摘要:I install sogou 中文输入法 successfully, after following below steps: 1. install sogou pingyin by deb package, in http://pinyin.sogou.com/linux/ 2. setup " 阅读全文
posted @ 2017-03-29 09:25 TonyYPZhang 阅读(326) 评论(0) 推荐(0)
摘要:CMake is an open-source cross platform build system, according to CMake's creator, Kitware. But CMake is not actually a build system. What CMake provi 阅读全文
posted @ 2017-03-26 17:39 TonyYPZhang 阅读(242) 评论(0) 推荐(0)
摘要:Work flow with git and github Work with Remotes Check the current status Check the latest source on remote branch Add an remote Repo Check the remote 阅读全文
posted @ 2017-03-23 00:19 TonyYPZhang 阅读(368) 评论(0) 推荐(0)
摘要:Copy, Assign, and Destroy When we define a class, we specify what happens when objects of the class are copied, moved, assigned, and destroyed. A clas 阅读全文
posted @ 2017-03-21 00:35 TonyYPZhang 阅读(385) 评论(0) 推荐(0)
摘要:Access Control And Inheritance Protected Member Like private, protected members are unaccessible to users of the class Like public, protected members 阅读全文
posted @ 2017-03-18 09:49 TonyYPZhang 阅读(312) 评论(0) 推荐(0)
摘要:Ordinarily, if we do not use a function, we do not need to supply a definition of the function. However, we must define every virtual function, regard 阅读全文
posted @ 2017-03-16 21:51 TonyYPZhang 阅读(217) 评论(0) 推荐(0)
摘要:There is a base class at the root of the hierarchy, from which the other class inherit, directly or indirectly. These inheriting classes are known as 阅读全文
posted @ 2017-03-16 21:21 TonyYPZhang 阅读(333) 评论(0) 推荐(0)
摘要:Members that are const or reference must be initialized. Similary, members that are of a class type that does not define a default constructor also mu 阅读全文
posted @ 2017-03-15 00:35 TonyYPZhang 阅读(281) 评论(0) 推荐(0)
摘要:The fundamental ideas behind classes are data abstraction and encapsulation. Data abstraction is a programming technical that relies on the separation 阅读全文
posted @ 2017-03-15 00:15 TonyYPZhang 阅读(324) 评论(0) 推荐(0)
摘要:The inline functions are a C++ enhancement feature to increase the execution time of a program. Compiler replace the definition at compile time instea 阅读全文
posted @ 2017-03-12 22:03 TonyYPZhang 阅读(560) 评论(0) 推荐(0)
摘要:C++11 introduced serveral contructor-related enhancements including: Class member initializers Delegating controctors This article discusses about Cla 阅读全文
posted @ 2017-03-12 11:26 TonyYPZhang 阅读(896) 评论(0) 推荐(0)
摘要:Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. The update(i, val) function modifies nums by upd 阅读全文
posted @ 2017-03-06 00:31 TonyYPZhang 阅读(1015) 评论(0) 推荐(0)