[求助]请指教
#include<stdio.h>
const int num=8;
main ()
{
int board [num]={0}; //error C2057: expected constant expression
//error C2466: cannot allocate an array of constant size 0
}
请指教,谢谢
#include<stdio.h>
const int num=8;
main ()
{
int board [num]={0}; //error C2057: expected constant expression
//error C2466: cannot allocate an array of constant size 0
}
请指教,谢谢
2007-08-22 17:38