home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a120 / 1.ddi / WATCOM_C / WAT125.C < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-08  |  632 b   |  22 lines

  1. /*------------------------------------------------------------------*/
  2. /* ╡{ªí└╔ªW║┘: wat125.c                                             */
  3. /*------------------------------------------------------------------*/
  4. #include <stdio.h>
  5. #include <string.h>
  6.  
  7. void main()
  8. {
  9.    char *s1 = "abCCC";
  10.    char *s2 = "AbccC";
  11.  
  12.    int status;
  13.  
  14.    status = memicmp(s2, s1, strlen(s2));
  15.    if (status > 0)
  16.        printf("╜w╜─░╧ 2--%s ñj⌐≤ ╜w╜─░╧ 1--%s\n",s2,s1);
  17.    else if (status < 0)
  18.             printf("╜w╜─░╧ 2--%s ñp⌐≤ ╜w╜─░╧ 1--%s\n",s2,s1);
  19.         else
  20.             printf("╜w╜─░╧ 2--%s ╡Ñ⌐≤ ╜w╜─░╧ 1--%s\n",s2,s1);
  21. }
  22.