RichThinker
2009年7月22日 星期三
函數指標 (Function pointer) v.s. 指標函數(Pointer to function) (c++)
函數指標 (Function pointer)
例如: int (*p) (int, int)
指向函數地址的指標
指標函數(Pointer to function
)
例如: float * q = function(num1, num2)
會return 指標的函數
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言