请问枚举这里为什么编译失败了?
# include <stdio.h>int main(void)
{
enum Color {red, yellow, blue, white, black};
enum Color i, j, k, pri;
int n, loop;
n=0;
for (i=red; i<=black; i++)//我这个是照着谭浩强的书里的例题打的,为什么在我的编译器里失败了
for (j=red; j<=black; j++)
......
return 0;
}
---------------------------