From owner-freebsd-hackers Mon May 20 4:19: 0 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from dignus.com (sdsl-64-32-254-102.dsl.iad.megapath.net [64.32.254.102]) by hub.freebsd.org (Postfix) with ESMTP id 396DB37B409 for ; Mon, 20 May 2002 04:18:56 -0700 (PDT) Received: from lakes.dignus.com (lakes.dignus.com [10.0.0.3]) by dignus.com (8.11.6/8.11.3) with ESMTP id g4KBDua30870; Mon, 20 May 2002 07:13:56 -0400 (EDT) (envelope-from rivers@dignus.com) Received: (from rivers@localhost) by lakes.dignus.com (8.11.6/8.11.3) id g4KBExh61333; Mon, 20 May 2002 07:14:59 -0400 (EDT) (envelope-from rivers) Date: Mon, 20 May 2002 07:14:59 -0400 (EDT) From: Thomas David Rivers Message-Id: <200205201114.g4KBExh61333@lakes.dignus.com> To: eddy+public+spam@noc.everquick.net, freebsd-hackers@FreeBSD.ORG Subject: Re: any file --> symbol in .o file In-Reply-To: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "E.B. Dreger" 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 - -- rivers@dignus.com Work: (919) 676-0847 Get your mainframe programming tools at http://www.dignus.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message