home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / cplus / 16635 < prev    next >
Encoding:
Text File  |  1992-11-20  |  787 b   |  26 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!sun-barr!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watdragon.uwaterloo.ca!drraymon
  3. From: drraymon@watdragon.uwaterloo.ca (Darrell Raymond)
  4. Subject: Re: New Employee Test
  5. Message-ID: <By0qLE.D3z@watdragon.uwaterloo.ca>
  6. Organization: University of Waterloo
  7. References: <assist.721943530@orion.oac.uci.edu> <mg.722138129@tyrolia>
  8. Date: Fri, 20 Nov 1992 14:22:25 GMT
  9. Lines: 15
  10.  
  11. In article <mg.722138129@tyrolia>, mg@tyrolia (Michael Golan) writes:
  12. > wbader@pluto.csee.lehigh.edu (William Bader) writes:
  13. > >Where I work, we ask people to write a short program that breaks a line
  14. > >into words.
  15. > Ah, but can they use strtok() ?
  16.  
  17.   Or how about just
  18.  
  19.           tr ' ' '\012'
  20.  
  21.   :-)
  22.  
  23. -Darrell.
  24.