主题:请帮忙一下,谢谢O(∩_∩)O
#include <stdio.t>
main()
{
int i,j,k;
[color=FF0000]printf("\n");[/color]
for(i=1;i<5;i++)
for(j=1;j<5;j++)
for(k=1;k<5;k++)
{
if(i!=k&&i!=j&&j!=k)
printf("%d,%d,%d\n",i,j,k);
}
}
printf' undeclared (first use this function)
(Each undeclared identifier is reported only once for each function it appears in.)
为什么?谢谢了[em1]
main()
{
int i,j,k;
[color=FF0000]printf("\n");[/color]
for(i=1;i<5;i++)
for(j=1;j<5;j++)
for(k=1;k<5;k++)
{
if(i!=k&&i!=j&&j!=k)
printf("%d,%d,%d\n",i,j,k);
}
}
printf' undeclared (first use this function)
(Each undeclared identifier is reported only once for each function it appears in.)
为什么?谢谢了[em1]