• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Event Logging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Event Logging


  • Subject: Re: Event Logging
  • From: Martin <email@hidden>
  • Date: Tue, 26 Feb 2008 20:56:35 +0100

Le 26 févr. 08 à 14:31, Philip Bridson a écrit :
Yeah that is what I mean. I was reading in the Documentation though that paths to file system folders should not be hard coded.

Yes.. I guess good programmers should use methods described in: http://developer.apple.com/documentation/Cocoa/Conceptual/LowLevelFileMgmt/Tasks/LocatingDirectories.html


This may sound a little dumb but is the freopen a C function? I used to write in C++ before Obj-C so I haven't used it before. Is it best to use this method or to use File Manager?

Yes, freopen is a libc function. You can find the documentation about it in XCode or by typing "man freopen" in a terminal.


I'm not sure which Obj-C method you would like to call instead, but it would probably be some kind of wrapper around the freopen function anyways.

Martin._______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Event Logging (From: Philip Bridson <email@hidden>)
 >Re: Event Logging (From: Martin <email@hidden>)
 >Re: Event Logging (From: Philip Bridson <email@hidden>)

  • Prev by Date: Re: Force arrayController to remove immediately?
  • Next by Date: Re: Help with displaying encrypted PDF image
  • Previous by thread: Re: Event Logging
  • Next by thread: Re: Event Logging
  • Index(es):
    • Date
    • Thread