home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!decwrl!zazen!doug.cae.wisc.edu!umn.edu!news
- From: Steve Kohlmeyer
- Subject: Re: File Mgr. vs. std. libs. for text files (new programmer)
- Message-ID: <1992Jul31.175108.11537@news2.cis.umn.edu>
- Sender: news@news2.cis.umn.edu (Usenet News Administration)
- Nntp-Posting-Host: santa-30.psych.umn.edu
- Organization: University of Minnesota
- References: <84932@netnews.upenn.edu>
- Date: Fri, 31 Jul 1992 17:51:08 GMT
- Lines: 23
-
- In article <84932@netnews.upenn.edu> peter@sysnext.library.upenn.edu (Peter C.
- Gorman) writes:
- >Hello -
- >
- >I've got a couple of projects which involve fairly simple manipulation of
- >text files using line-at-a-time access. The standard library functions
- >are fine for this aspect of it, but I'd like to use the Toolbox for file
- >selection and opening. Think C seems to tell me that I can't use the SF
- >Package and File Manager to get the files, then use fgets(), fputs(), etc.
- >for manipulation of the contents. .....
-
- I use both the SF package and standard C i/o functions together all the time.
- The SF package will return the volRefnum (or directory) of the opened/saved
- file.
- Use this to set your default dir. Then use your C functions in the normal
- manner.
-
- Steve Kohlmeyer
- U of Minnesota
-
-
-
-
-