home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 22068 < prev    next >
Encoding:
Text File  |  1993-01-24  |  886 b   |  22 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!gumby!wupost!cs.uiuc.edu!milton!totic
  3. From: totic@milton.cs.uiuc.edu (Aleksandar Totic)
  4. Subject: Porting code from UNIX: how to get rid of printfs
  5. Message-ID: <C1DCus.B0q@cs.uiuc.edu>
  6. Keywords: unix, porting
  7. Sender: news@cs.uiuc.edu
  8. Organization: University of Illinois, Dept. of Comp. Sci., Urbana, IL
  9. Date: Sun, 24 Jan 1993 17:35:16 GMT
  10. Lines: 10
  11.  
  12. Hello,
  13. I am using some UNIX code on the Mac. It works fine, with the exception
  14. that occasionally the code uses printf to print diagnostics and errors.
  15. Currently I am using Think C, but soon I`ll port it to MacApp also.
  16. The result of printf in ThinkC is to pop up a console window. Is there
  17. any way to get rid of this behaviuor, maybe pipe the statements into
  18. dialog boxes, or my own error window? All comments are welcome, I do 
  19. not know if there is a right answer to this.
  20.  
  21. Aleks
  22.