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