T
Trying_Harder
Firstly, are functions defined in strings.h (`strcasecmp' and
`strncasecmp')
ANSI? if yes , then why am I getting an implicit declaration warning
only
with -Wall (Warnings all) flag? and if not, why am I not getting
warnings
with `gcc -ansi -pedantic blah.c'
Secondly , is there a function in `C' for comparing strings ignoring
their cases? Only criterion is this has to be ANSI compliant (being
precise, it
should compile without warnings with the following flags `-ansi
-pedantic &
-Wall' ).
After scouring through some newsgroup archives, I have got a hint
there isnt
any standard C function for this.
Conincidentally, I have always preferred using my own functions for
such
a logic and hence never encountered this problem before.
Thanks in advance,
f
`strncasecmp')
ANSI? if yes , then why am I getting an implicit declaration warning
only
with -Wall (Warnings all) flag? and if not, why am I not getting
warnings
with `gcc -ansi -pedantic blah.c'
Secondly , is there a function in `C' for comparing strings ignoring
their cases? Only criterion is this has to be ANSI compliant (being
precise, it
should compile without warnings with the following flags `-ansi
-pedantic &
-Wall' ).
After scouring through some newsgroup archives, I have got a hint
there isnt
any standard C function for this.
Conincidentally, I have always preferred using my own functions for
such
a logic and hence never encountered this problem before.
Thanks in advance,
f