Skip to main content

Section 9.15 Vocabulary

character:
A single letter, digit, punctuation mark, or other symbol in a string.
char:
The C++ data type for a single character.
string:
A sequence of characters; the primary data type for text.
object
A code entity that bundles data and functions that operate on that data.
index:
An integer variable or value used to indicate a character in a string.
ASCII:
A character encoding standard that uses 7 or 8 bits to represent characters, allowing for 128 or 256 unique symbols.
Unicode:
An international standard for representing characters in most of the world’s languages.
empty string:
The string "", which contains no characters and has a length of zero.
enhanced (range-based) for loop:
An alternative syntax for traversing the characters of a string (or the elements of other collections).
escape sequence:
A sequence of characters that represents a special character in a string, such as newline (\n) or tab (\t).
newline:
A special character signifying the end of a line of text. Also known as β€œline ending”, β€œend of line” (EOL), or β€œline break”.
You have attempted of activities on this page.