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

  1. /*------------------------------------------------------------------*/
  2. /* ╡{ªí└╔ªW║┘: wat183.c                                             */
  3. /*------------------------------------------------------------------*/
  4. #include <string.h>
  5. #include <stdio.h>
  6.  
  7. void main()
  8. {
  9.      char *p;
  10.      /* ÑH¬┼«µ░╡¼░ñ└¼╔ªrñ╕(delimiter) */
  11.      char *s2 = " ";
  12.      char *s1 = "╢┘! ⌐pªn╢▄? ╛╛! º┌½▄ªn! ┴┬┴┬ºA!";
  13.  
  14.      printf("▒NªrªΩ \"%s\" ñññºªU¡╙ñσÑyñ└│╬ÑX¿╙\n", s1);
  15.      p = strtok(s1, s2);
  16.      while(p != NULL)
  17.      {
  18.            printf("┐WÑ▀ñºñσÑy: %s\n",p);
  19.            p = strtok(NULL, s2);
  20.      }
  21. }
  22.  
  23.  
  24.