I’m reading page 86 in this book about string and literals and i don’t understand why it says the following about string s1 and s2.
string s1("hello, ");
string s2("world\n");
string s3 = s1+s2;
..
it says s1 and s2 included punctuation directly. Punctuation? What punctuation.
Also on page 87.
string s1 = "hello"; // no punctuation. Again what punctuation?
Can anyone explain?
I actually went in and looked at the book in question. The author is considering the “,” and the “\n” to be “punctuation.”
The very next sentence on page 86 said:
— Dan