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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:I install sogou 中文输入法 successfully, after following below steps: 1. install sogou pingyin by deb package, in http://pinyin.sogou.com/linux/ 2. setup "
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:Access Control And Inheritance Protected Member Like private, protected members are unaccessible to users of the class Like public, protected members
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:The fundamental ideas behind classes are data abstraction and encapsulation. Data abstraction is a programming technical that relies on the separation
阅读全文
摘要:The inline functions are a C++ enhancement feature to increase the execution time of a program. Compiler replace the definition at compile time instea
阅读全文
摘要:C++11 introduced serveral contructor-related enhancements including: Class member initializers Delegating controctors This article discusses about Cla
阅读全文
摘要: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
阅读全文