这是VC++的一个工程
bool CWA::findNumber(char *dtmf_num)
{
    typedef struct  {
char * phoneNumber ;
char * functionName;
void(*action)();
}tNUMBER;

tNUMBER    phoneNumbers={"3210","Busy Tone",Dialout};
     return(true);
}
void CWA::Dialout()
{
}这时编译不通过,错误是 error C2440: 'initializing' : cannot convert from '' to 'void (__cdecl *)(void)'
        None of the functions with this name in scope match the target type
我想可能是C,C++的函数不匹配的问题,比如 Dialout在c中的名字就是Dialout 但到了C++中可能是前面加了很多参数,所以找不到,可能是用extern "c"解决,但我不知加在哪里,请高手指点。