[code:1]
void printc(char m){
char c='A';
int i,j;
for(i=0;i<=m-c+1;i++)
for(j=0;j<=(2(m-c+1)-1);j++){
if(j==(m-c+1-i)||j==(m-c+1+i))
printf("%c",c+i);
else
printf(' ');
}
}
[/code:1]
在for(j=0;j<=(2(m-c+1)-1);j++){出错,出错信息如下:
error C2064: term does not evaluate to a function