•We can also put text
directly into the output stream
with String Constants:
–A string constant is a sequence of characters enclosed in double quotes
–e.g. cout
<< “This is a string constant”;
–There are
special characters that we can include
in our string constant that you can’t
type on the keyboard.
–These characters are represented special codes called escape sequences.
–