Skip navigation.
 
mlWhere the file is?
FROM : Luca Ciciriello
DATE : Sat Jan 19 14:10:39 2008

Hi list.

Sorry for my "simply" question, but I'm quite new using C++ in cocoa apps. In one of my file .cpp I've the the following instruction used for write a file.

1. ofstream ofs("ThreadLog.log");

2. if(!ofs.is_open()) return;

3. ofs << "write something" << endl;

4. ofs.close();

When I launch my application, this instructions are executed, but I'm unable to locate where my file is written.

Wich path I've to use in (1.) to see my file written in the same location where my app is?

Thanks in advance for any answer.

Luca
_________________________________________________________________
Get Hotmail on your mobile, text MSN to 63463!
http://mobile.uk.msn.com/pc/mail.aspx_______________________________________________

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
mlWhere the file is? Luca Ciciriello Jan 19, 14:10
mlRe: Where the file is? Uli Kusterer Jan 19, 14:59