摘要:
1.声明函数指针 声明指向某种数据类型的指针时,必须指定指针指向的类型。同样,声明指向函数的指针时,也必须指定指针指向的函数类型。这意味着声明应指定函数的返回类型一级函数的特征标(参数列表)。也就是说,声明应像函数原型那样指出有关函数的信息。 例如: double pam(int); //prototype 则正确的指针类型声明如下:double (*pf) (int);//pf points to a function that takes one int argument and that return type double 这与pam()声明类似,这是将pam替换为(*p... 阅读全文
posted @ 2012-09-04 20:44
Asan825
阅读(208)
评论(0)
推荐(0)
摘要:
test 阅读全文
posted @ 2012-09-04 11:42
Asan825
阅读(73)
评论(0)
推荐(0)

浙公网安备 33010602011771号