Re: Escaping white space in an NSString
Re: Escaping white space in an NSString
- Subject: Re: Escaping white space in an NSString
- From: Greg Guerin <email@hidden>
- Date: Thu, 21 May 2009 09:23:20 -0700
Bruce Johnson wrote:
The CLI is for a Cocoa App, but I need to call this in both Leopard
and iPhone
Please explain exactly what you mean by the acronym CLI. None of the
interpretations I'm familiar with fit what you're doing. Or if they
do, you're not explaining how you have a Command Line Interpreter/
Interface on iPhone.
http://en.wikipedia.org/wiki/CLI
char mdfile[PATHSIZE];
strncpy(mdfile, <pathToFile>, MAXREAD);
FILE * stream = fopen(<pathToFile>, "rt");
Please post your real code. Do not substitute placeholders like
<pathToFile>.
When you eliminate things you think aren't relevant, it prevents
anyone from seeing the entire context. And since you're having a
problem, what you think is relevant may be contributing to the
problem, so eliminating it could remove the very thing we need to see.
-- GG
_______________________________________________
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