C ++ Study Notes _ 01 C ++ Primer chapter 1, _ 01 primer
Key Concept: Types
Types are one of the most fundamental concepts in programming and
Concept that we will come back to over and over in this Primer. A type
Defines both the contents of a data element and the operations that are
Possible on those data.
The data our programs manipulate are stored in variables and every
Variable has a type. When the type of a variable named v is T, we often say
That "v has type T" or, interchangeably, that "v is a T ."
Key Concept: Type
Type is a very important concept in the program, and this concept will be throughout the book.
The data type not only determines the content that a data element (object) should contain, but also the operations that can be performed on the data.
(PS: Java is developed from C ++, so inTypeThis concept is very similar)
Data Processed by our program is stored in variables, and each variable has its own type. When we set a variable type called v to T,
We can say that T is the type of v variable, or, conversely, v is the type of T.
Most of the examples in this book useIostreamLibrary. Fundamental to
Iostream library are two types namedIstreamAndOstream, Which represent input
And output streams, respectively. A stream is a sequence of characters read from or
Written to an IO device.
Most examples in this book useIostreamLibrary, the two most important types of iostream library areIstreamAndOstream
They represent the input stream and the output stream respectively. A stream is a sequence of characters that are read or written from an IO Device.
Computer English
0001 transaction
0002 terminate termination
0003 concept concepts and ideas
0004 fundamental basics
0005 special; detailed; exclusive; picky
0006 collegou colleagues
0007 concentrate focus on Concentration
0008 Naming Convention command rules
0009 suffix (file name suffix etc .)
0010 prompt adj. agile; rapid; v. prompt; Lead n. Incentive; prompt
0011 omitted and deleted