Re: Event Logging
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