i keep getting an error in this prog..
#include <stdio.h>
#define xlordt '*'
struct char xlordt[7]={
{x,l,o,r,d,t},
};
int main()
{
int x;
for (x=0; x<1; x++)
putc( xlordt[x], stdout);
return 0;
}
the error that i keep getting is..
dd.c:5: parse error before `char'
dd.c: In function `main':
dd.c:15: subscripted value is neither array nor pointer
can anyone tell me what this means... (running under linux)