• 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
Re: Opening file with C++ iostream from application bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening file with C++ iostream from application bundle


  • Subject: Re: Opening file with C++ iostream from application bundle
  • From: Carlos Eduardo Mello <email@hidden>
  • Date: Sat, 18 Apr 2009 23:01:51 -0300

Forgot...here is the file loading code

bool ::LoadFromFile( string fileName, int which )
{
	ifstream fin;
	string temp, item;
	int itemCount, i;
	int lineCount = 0;

	fin.open( fileName.c_str() );
	if(fin)
	{
		while( !fin.eof() )
		{
			getline( fin, temp );
			//...ETC
_______________________________________________

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


  • Prev by Date: Re: SQLite 3 crash report - debugging help needed
  • Next by Date: how to get the windows ‘s coordinate
  • Previous by thread: Re: NSSavePanel and file formats
  • Next by thread: Opening file with C++ iostream from application bundle
  • Index(es):
    • Date
    • Thread