生活 + 筆記

3.23.2012

gnuplot for MAC

1. 下載 aqua term 2. 下載 gnuplot 3. 開啟 terminal 4. 解開 gnuplot 5. 執行 ./prepare 6. 執行 ./configure --with-readline=builtin 7. 執行 make 8. 執行 sudo m...

3.10.2012

pass by value, address, reference

 pass by value  int main() {      int x = 10;      ....      cout << increment(x) << endl;      cout << x << endl;  ...