Re: Opening file with C++ iostream from application bundle
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