🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6211

Re: basic C question...

#6211
From: Svempa
Date: Thu, 02 Jun 2005 18:55
21 lines
1477 bytes
Robert G. Hoover wrote:
> Isn't there a way to "continue" a string that exceeds the 80 column 
> "readability barrier"? For example....
> 
> 

Hi Robert!

I think a single backslash will be a alternative.
It tells the preprocessor to go to next line.

AnsiString MyString = "This is a very long string. So, \
I'd prefer to make it on seperate \
lines like this so that I can read \
it in my code without having to use \
the scrollbars across the bottom of \
the screen.";


Greetings from Sweden:
/Svempa
Technical Details
Message-ID: <429f5624$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <429f0f35@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,cf4e0320941265bb
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 02 Jun 2005 20:55:35 +0200
From: Svempa <sven_olovl@hotmail.com>
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: basic C question...
References: <429f0f35@newsgroups.borland.com>
In-Reply-To: <429f0f35@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 217.211.237.53
Message-ID: <429f5624$2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1117738532 217.211.237.53 (2 Jun 2005 11:55:32 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail