[prog] Joel on Software: Leaky Abstractions
Random832
random832 at rcbooks.org
Wed Apr 16 06:52:43 EST 2003
On Tue, Apr 15, 2003 at 11:20:16PM -1000, Jimen Ching wrote:
> Though there is the question of the usefulness of adding two constant
> string literals. This is allowed:
>
> string s = "foo" "bar";
>
> Though not technically OO, its legal. ;)
my understanding had always been that the construction you mentioned was
a single string literal. the intention being to construct them from the
preprocessor: "My version number is " VERSIONSTRING ".\n"
More information about the Programming
mailing list