Re: writing huge C-array to a file
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