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 (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to