• 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: Cocoa version of the fstream lib?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa version of the fstream lib?


  • Subject: Re: Cocoa version of the fstream lib?
  • From: Jeremyah Payne <email@hidden>
  • Date: Fri, 6 Feb 2004 08:44:11 -0600

I guess i should have said instead of data, an int x, a char let, and some floats etc.
in other words one element at a time.




On Feb 6, 2004, at 7:32 AM, Christopher Pavicich wrote:

NSData *myData = [NSData dataWithContentsOfFile:@"/my/file/name/here.txt"];

?


On Feb 6, 2004, at 8:10, Jeremyah Payne wrote:

How would i do something like

ifstream fin;

fin.open("somefile.txt");

fin>>data;

fin.close();


Im getting tired of trying to use OBJC++ and other combos, so i guess i have to learn now.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Cocoa version of the fstream lib?
      • From: Andreas Mayer <email@hidden>
References: 
 >Cocoa version of the fstream lib? (From: Jeremyah Payne <email@hidden>)

  • Prev by Date: Problems with AMRollOverButton
  • Next by Date: Re: Problems with AMRollOverButton
  • Previous by thread: Re: Cocoa version of the fstream lib?
  • Next by thread: Re: Cocoa version of the fstream lib?
  • Index(es):
    • Date
    • Thread