home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20875 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  769 b 

  1. Path: sparky!uunet!cs.utexas.edu!rutgers!cmcl2!adm!afterlife!mssmith
  2. From: mssmith@afterlife.ncsc.mil (M. Scott Smith)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Think C bug? [sprintf]
  5. Message-ID: <1993Jan7.113624.2536@afterlife.ncsc.mil>
  6. Date: 7 Jan 93 11:36:24 GMT
  7. Organization: The Great Beyond
  8. Lines: 14
  9.  
  10. Does anyone know of any bugs in the sprintf() function of Think C v5.x?
  11.  
  12. I don't have time to elaborate, but I've found that it doesn't do what
  13. it's supposed to.  It seems more than three arguments cause it to bomb.
  14.  
  15. It should be identical to printf, except the first parameter passed is
  16. a string to "print to."  But this doesn't seem to work in Think C.
  17.  
  18. If this is a bug, are there any work-arounds?
  19.  
  20. Thanks,
  21.  
  22. M. Scott Smith
  23.   (mssmith@afterlife.ncsc.mil)
  24.