| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | strwildcmp :) |
24 May 96 04:18, Frank Adam wrote to Peter Collis: FA>> Talking about strcmp() i have noticed something that nobody mentioned, FA>> it actually returns the ascii code of the character it fails on in FA>> str1, and negates it if *str2 > *str1. PC>> I've never noticed this, what compiler are you using. > BC4.02, and TurboC 2, TurboC does it, but i've been told i'm just lucky. Of course, if you find other RTLs don't support such behaviour (which wouldn't be suprising) you could always write your own version... --- Msged/2 3.36ac alpha 1* Origin: Blizzard of Ozz, Melbourne, Australia (3:635/727.4{at}fidonet) SEEN-BY: 50/99 620/243 623/630 632/349 635/503 544 727 728 711/401 409 410 SEEN-BY: 711/413 430 808 809 932 934 712/515 713/888 714/906 800/1 @PATH: 635/727 544 50/99 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
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™.