• 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: Escaping white space in an NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Fwd: Memory management in QuickLook plugin
  • Next by Date: Re: Apple Sample Code not working? SampleCMPlugin
  • Previous by thread: Re: Escaping white space in an NSString
  • Next by thread: Re: Escaping white space in an NSString
  • Index(es):
    • Date
    • Thread