[求助]55555555555
void (*pfn) (void) 这个定义是什么意思啊?我知道是个指针,但那是个类里面定义的成员变量,并不是成员函数,怎么会有(void) 这个参数列表呢?
2006-03-22 11:58
2006-03-22 14:40
void Example(void) {
cout<<"This is an example!"<<endl;
}
void (*pfn) (void) = Example;
int main() {
pfn();
return 0;
}

2006-03-22 16:11
2006-03-24 08:01