Some characters do not have their own symbol and must be referenced by an escape sequence. Some escape sequences are: '\\'-- backslash '\''-- single quotation mark '\"'-- double quotation mark '\b'-- backspace '\n'-- new line '\r'-- carriage return '\t'-- tab A string is a sequence of characters ending in the null character (whose escape sequence is '\0'). As a beginner, you can usually ignore this definition because strings are usually simply written as constants between double quotes, such as: "florsheim"or "Enter the quantity of shipments:\t"More Data Types There are more primitive data types in C++ which are variation on the ones described above. They are as follows: •unsigned char-- takes non-negative values twice as high as normal chars. •unsigned int-- similarly, takes on non-negative values up to twice the highest value of normal ints. •long-- or long int, are like ints, but can take on much larger values. •unsigned long int-- takes on very large non-negative values •long double-- takes on very large real number values.
This is the end of the preview.
access the rest of the document.