• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Where the file is?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Where the file is?
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: Re: App-specific URLs and the pasteboard. Need help.
  • Next by Date: Re: System preferences panes on Leopard
  • Previous by thread: Re: Multiple Views Using One Window
  • Next by thread: Re: Where the file is?
  • Index(es):
    • Date
    • Thread