"E.B. Dreger" <[EMAIL PROTECTED]> wrote:
> 
> Greetings all,
> 

 Eddy,

  Instead of a system-specific approach, you might want
 to take advantage of what the C language has to offer.

  For example, your multi-line issue.

  You realise that the C preprocessor/compiler will
 concatentate adjacent character string constants, forming
 one constant.

  So, you could code this up as:

   const char foo[] = "\"Escape\" chars make strings"
                      " in 'C' code...\n"
                      "...messy.  But - at least, line breaks"
                      " are not an issue.\n";

 I don't have a nice way around the escapes needed for quotes
 though...

        - Dave Rivers -

--
[EMAIL PROTECTED]                        Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to