Skip navigation.
 
mlRe: Event Logging
FROM : Martin
DATE : Tue Feb 26 20:56:35 2008

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_removed>)

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:
http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>

This email sent to <email_removed>

Related mailsAuthorDate
mlEvent Logging Philip Bridson Feb 26, 11:53
mlRe: Event Logging Martin Feb 26, 13:58
mlRe: Event Logging Philip Bridson Feb 26, 14:31
mlRe: Event Logging Martin Feb 26, 20:56
mlRe: Event Logging Tommy Nordgren Feb 27, 02:40
mlRe: Event Logging Barry Wark Feb 27, 22:43