Re: Macro redefinition
- From: Ben Pfaff <blp@xxxxxxxxxxxxxxx>
- Date: Fri, 31 Aug 2007 12:13:05 -0700
Tor Rustad <tor_rustad@xxxxxxxxxxx> writes:
However, there is a translation limit of "509 characters in a logical
source line", and isn't logical source lines made up after
line-splicing your ISO8583_DEFS above?
Interesting point. I've not run into an implementation (yet)
that has such a stringent limit. I notice that C99 expanded the
limit to 4095 characters.
--
int main(void){char p[]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.\
\n",*q="kl BIcNBFr.NKEzjwCIxNJC";int i=sizeof p/2;char *strchr();int putchar(\
);while(*q){i+=strchr(p,*q++)-p;if(i>=(int)sizeof p)i-=sizeof p-1;putchar(p[i]\
);}return 0;}
.
- Follow-Ups:
- Re: Macro redefinition
- From: Tor Rustad
- Re: Macro redefinition
- References:
- Macro redefinition
- From: Tor Rustad
- Re: Macro redefinition
- From: Ben Pfaff
- Re: Macro redefinition
- From: Tor Rustad
- Macro redefinition
- Prev by Date: Re: Macro redefinition
- Next by Date: Re: How to force fscanf to find only data on a single input line?
- Previous by thread: Re: Macro redefinition
- Next by thread: Re: Macro redefinition
- Index(es):
Relevant Pages
|