摘要:
# 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 阅读全文