On Sunday, May 11, 2014, William Squires <wsqui...@satx.rr.com> wrote:

> Is there a way to have the above send the string's contents to stdout
> instead of a named file? If not, no biggy, I'll just make another method to
> output all the lines (in my NSArray, which I sent the
> componentsJoinedByString: message to get the NSString whose output I want
> to go to stdout), but it just adds unneeded complexity that I'd rather
> avoid. TIA!


I don't believe that I understand your question. Won't a simple

printf("%s", [str UTF8String]);

suffice?


>
>
> _______________________________________________
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com <javascript:;>)
>
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/sevenbitstech%40gmail.com
>
> This email sent to sevenbitst...@gmail.com <javascript:;>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to