摘要:
先安装 oh my tmux: Oh my tmux C + a + c:创建一个 window C + a + 数字:切换窗口 C + a + p:切换到左边序号的窗口 C + a + n:切换到右边序号的窗口 C + a + &:杀死一个窗口 C + a + %:左右分屏 C + a + "": 阅读全文
摘要:
# If you come from bash you might have to change your $PATH. # export PATH=$HOME/bin:/usr/local/bin:$PATH # Path to your oh-my-zsh installation. expor 阅读全文
摘要:
参考:默认实参 #include <iostream> void f(int a, int b = 1); // 只要前面声明了 b 的值,后面 b 可以不给默认值 void f(int a = 2, int b) { std::cout << a << ' ' << b << '\n'; } in 阅读全文