home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14270 < prev    next >
Encoding:
Text File  |  1992-08-20  |  1.2 KB  |  31 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!usc!rpi!raffuj
  3. From: raffuj@aix.rpi.edu (Jose A. Raffucci)
  4. Subject: Help w/files needed...
  5. Message-ID: <l-hyzaq@rpi.edu>
  6. Nntp-Posting-Host: aix.rpi.edu
  7. Organization: Rensselaer Polytechnic Institute, Troy, NY
  8. Distribution: usa
  9. Date: Thu, 20 Aug 1992 15:00:35 GMT
  10. Lines: 19
  11.  
  12. I need to open a file, write to it using standard text i/o stuff, and 
  13. close it up again.  I figure fopen() and fclose() work ok since they're
  14. in the standard library, but how can I use them with the standard filre
  15. requestors?  
  16.  
  17. I gave it a couple of whacks, and I guess I just wasn't looking hard 
  18. enough, but I just couldn't find a way to get the mac getfile routines
  19. to just give me back a filename that I could use with fopen().  I know this
  20. can't be too hard, but I'm not a mac person.              
  21.  
  22. If you've got an easy solution, PLEASE, let me hear it... 
  23.  
  24. -hOz
  25.  
  26. -- 
  27. X/\/\/\/\/\/\/\/\__/\__/\/\/\/\/\/\__/\__/\/\/\/\/\/\/\--:OO  _________________|
  28.   //  The Amigoids from hell,     raffuj@rpi.edu     Ren & Stimpy (SNICK) 
  29. \X/   Renssepolyinstatechnitute                 New Episodes! Aug 15, 7:00 pm   
  30. Oh my beloved Ice Cream Bar!  How I love to lick your creamy center!  ChowwmP!
  31.