delorie.com/archives/browse.cgi | search |
Date: | Mon, 17 Nov 1997 09:37:50 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | Matthew Mastracci <mmastrac AT acs DOT ucalgary DOT ca> |
cc: | djgpp AT delorie DOT com, Jose Luis Perandones Colino <joepc AT writeme DOT com> |
Subject: | Re: Init string question |
In-Reply-To: | <64odu1$mmc@ds2.acs.ucalgary.ca> |
Message-ID: | <Pine.SUN.3.91.971117093655.2318B-100000@is> |
MIME-Version: | 1.0 |
On Sun, 16 Nov 1997, Matthew Mastracci wrote: > Easy. C can concatenate two string constants placed end-to-end without > any special operations. For instance: > > "blah" "foo" > > is equivalent to: > > "blahfoo" Please note that this is an ANSI C feature. Some older pre-ANSI compilers don't support it. (More precisely, it's the preprocessor that performs this concatenation, if it's supported.)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |