Mail Archives: djgpp/1993/07/16/21:57:22
> > In the end I declared a variable of my own, char _ctype_[512];
> > and it compiled and linked fine.
>
> Your program won't work right, however.
>
> The "_ctype_" array is an array of flags, which describes the type
> of each character (i.e., uppercase, lowercase, control, etc.). Not
> using the correct array will make your program malfunction.
I know that. I wasn't going to muck around recreating an array that should be
arounf somewhere anyway. I knew I wouldn't use any "indent" flags that worried
about upper or lower case and the compiled code runs fine for me, indicating
that the islower() call is never made.
Still, I'm yet to find out where _ctype_[] is and why the linker can't find it.
- Raw text -