Re: Soft return in XCode
Re: Soft return in XCode
- Subject: Re: Soft return in XCode
- From: Alastair Houghton <email@hidden>
- Date: Thu, 27 May 2010 10:22:14 +0100
On 26 May 2010, at 22:45, Jens Alfke wrote:
> On May 26, 2010, at 2:39 PM, Lorenzo Thurman wrote:
>
>> In the past, one could simply hit option-enter, but the IDE in XCode doesn't respect that. How does one go about that? I have a really long string literal that I'd like break into smaller chunks.
>
> The C language requires that you put a “\” at the end of each line if a string literal spans multiple lines:
> const char *foo = “this is a long \
> string literal”;
Isn't that a GCC extension? I don't think that one made it into C99...
Your second suggestion, closing and re-opening the quotes is portable.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden