ANSI C, the C Pre-Processor, and string concatenation
Vincent Manis
manis at ubc-vision.CDN
Tue Sep 25 14:10:03 AEST 1984
The major advantage of string concatenation, besides its
interaction with the preprocessor, is the ability to break
very long strings over lines, without ending up with some
of the typographical messes C forces us to do, e.g.,
#define verylong \
"/usr/smith/bin/myprog" \
" foo -bar " \
" quertyiop"
I can't say I'm worried by the lack of an explicit operator,
as this concatenation is not an actual operation, but rather
a lexical transformation.
More information about the Comp.lang.c
mailing list