• 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: writing huge C-array to a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: writing huge C-array to a file


  • Subject: Re: writing huge C-array to a file
  • From: Bill Bumgarner <email@hidden>
  • Date: Sun, 23 Jul 2006 19:26:13 -0700


On Jul 23, 2006, at 6:29 PM, Steve Bird wrote:

On Jul 21, 2006, at 12:01 PM, Bill Bumgarner wrote:

On Jul 21, 2006, at 8:04 AM, PGM wrote:
In my app, I have a document containing a potentially huge two- dimensional C-array filled with doubles that I need to write to a file (with a user-specified number of decimals).

[ snip ]


You are writing binary data to a file. It isn't a string


Doesn't the "specified number of decimals" requirement imply a text file?

Oh, boo. I missed that part. Sorry.

So, yeah, it is a text file, but you still don't want to use NSString. Use fprintf().

b.bum


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: writing huge C-array to a file
      • From: PGM <email@hidden>
References: 
 >writing huge C-array to a file (From: PGM <email@hidden>)
 >Re: writing huge C-array to a file (From: Bill Bumgarner <email@hidden>)
 >Re: writing huge C-array to a file (From: Steve Bird <email@hidden>)

  • Prev by Date: Re: Application upgrades itself?
  • Next by Date: Re: writing huge C-array to a file
  • Previous by thread: Re: writing huge C-array to a file
  • Next by thread: Re: writing huge C-array to a file
  • Index(es):
    • Date
    • Thread