懶得多打
直接貼網址了
http://blog.xuite.net/cmi5288/net/321413 (MATLAB中的離散傅立葉轉換)
2011年9月30日 星期五
[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
下面列了幾個每次都會忘記的用法...囧
#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啦!
每次code改過看到compile error就把code改回去
(因為error都看不懂 @@)
長大後才發現
原來只是我英文太差= =
compiler其實都寫得滿詳細的
為了解決看不懂compile error的問題
我決定把遇到的錯誤都給它記下來
這樣哪天忘了就不用再Google啦!
訂閱:
文章 (Atom)