-
Assume we have a template class named Matrix, and we want to add a friend function called swap().
Method 11234567template<...
-
After introduced mock in previous section, let’s talk about another powerful module – patch.
Intropatch is a decorator /...
-
IntroMock is a very useful package for unittest in python. It can replace some classes or functions and change their behavior...
-
Why inlineIn C++, we can add inline keyword in front of function defination (inline only works on defination, you don’t need ...
-
TmuxWhen we use command line tools (CLI), we will open a terminal, and input some commands. This process called “session”. Bu...
-
#include <header>This will let preprocessor find header files in pre-designated directories.
These directories are nor...
-
GithubJust create a new repo, and the repo’s name follows rule “username.github.io”.
Node.js & HexoInstallJust donwload ...