非常简单的程序,但不知怎么错的,为什么是'void' illegal with all types
#include<iostream.h>#include<math.h>
void double lu(double w[6][502])
{
cout<<"实话实说"<<endl;
}
void main(void){
double d[502];
double a[6][502];
lu(a);
}
编译时报错显示是'void' illegal with all types,为什么啊?