標籤

C++ (12) Linux (6) MacOSX (4) Makefile (3) Matlab (3) Ubuntu (3) Android (2) C (1) Refactoring (1)

2011年9月30日 星期五

[Matlab] 頻譜分析

懶得多打
直接貼網址了

http://blog.xuite.net/cmi5288/net/321413 (MATLAB中的離散傅立葉轉換)

[C語言] #define

常見的就不多說了
下面列了幾個每次都會忘記的用法...囧


#define CONCAT(x,y) x##y      // concatenate x & y
#define ToChar(x) #@x            // change x into char
#define ToString(x) #x              // change x into string


2011年9月29日 星期四

[C++] passing "const ..." as this argument discards qualifiers

小時候不懂事
每次code改過看到compile error就把code改回去
(因為error都看不懂 @@)
長大後才發現
原來只是我英文太差= =
compiler其實都寫得滿詳細的

為了解決看不懂compile error的問題
我決定把遇到的錯誤都給它記下來
這樣哪天忘了就不用再Google啦!