前面再加上typedef來定義一種類型: typedef double(*a_fn_type)(int,int);. 可以把它當成一個類型來使用,聲明一個接受另一個函數做為輸入參數函數:.
確定! 回上一頁