C + + Learning Note _01 C + + Primer Chapter 1

Source: Internet
Author: User
Tags naming convention

Key Concept:types
Types is one of the most fundamental concepts in programming and a
Concept that we'll come back to over and over with this Primer. A type
Defines both the contents of a data element and the operations that is
Possible on those data.
The data our programs manipulate is 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 concepts: Type

Type is a very important concept in the program, and this concept we will be throughout the book.

The type of data not only determines what a data element (object) should contain, but also the actions that can be performed on that data.

(Ps:java is developed by C + +, so the concept of type is very similar)

The data that our program processes 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 the V variable, or, conversely, the V variable is of type T.

The most of the examples the iostream Library. Fundamental to the
iostream library is types named IStream and ostream, which represent input
and output streams, respectively. A stream is a sequence of characters read from or
Written to an IO device.

Most examples of this book use the iostream Library, the most important of the two types in the iostream library are IStream and ostream

They represent the input stream and the output stream, respectively. A stream is a sequence of characters that is read or written from an IO device.

Computer English

0001 Transaction Affairs

0002 terminate end of dismissal make end

0003 Concept Concept Ideas

0004 the basic important of the fundamental foundation

0005 particular special, detailed, unique, critical

0006 colleague Colleague

0007 concentrate concentrate on concentrating attention

0008 Naming Convention naming convention Command rules

0009 suffix suffix (filename suffix etc.)

0010 prompt adj. agile; swift; v. induce n. motivate;

0011 omitted omission omitted to remove

C + + Learning Note _01 C + + Primer Chapter 1

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.