Where the file is?
Where the file is?
- Subject: Where the file is?
- From: Luca Ciciriello <email@hidden>
- Date: Sat, 19 Jan 2008 13:10:39 +0000
- Importance: Normal
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@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