TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: DANIEL E. CHAPMAN II
from: KURT KUZBA
date: 1998-01-19 04:27:00
subject: strcmpi error?

DE> KK> DE> TH>   strcmpi() is an unsigned version of strcmp().
DE> KK> DE>   ... should appear in all standard libraries
DE> KK>    And likely would, if it were standard.
DE>   I said stricmp (with the i in the middle) which is
DE>   different from strcmpi.
   The C standard only supports the following comparisons:
int strcmp(char*, char*);
int strncmp(char*, char*, int);
   Who says there's nothing good at the 7-11? ;)
   I haven't seen a draft of the C++ standard, so maybe
   it is included there. I just don't know. In C, though,
   the standard supports the lowest possible level of use
   with the highest possible level of functionality.
   You can arrive at more complex functions by building
   them with the code supplied by the standard libraries.
   That is why you will not find a function to convert a
   string to upper or lower case, though you will find a
   function to convert a char to upper or lower case.
   ( Or at least it seems that way to my addled mind. )
   Your dinner is in the forest. Some of it is moving. :)
> ] God's side of the tire is Never Flat........................
---
---------------
* Origin: *YOPS ]I[* 3.1 GIG * RA/FD/FE RADist * Milwaukee, WI (1:154/750)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.