C + + Primer 1th Chapter

Source: Internet
Author: User

I learned today.

0 Page ~30 page.

1. Compiler Error Type syntax error (syntax error) type errors (type error) Declaration error (Declaration error) .

2. the definition of a class is usually written in a header file .

3. CIN cout Cerr Clog are objects of the iostream type.

4. Cerr ( standard error, used to output warnings and error messages) , the data written to Cerr is not buffered by default.

5. Clog ( used to output the general information of the program runtime, stored in a log file), by default, the data written to clog is buffered.

6. Endl as a manipulator, write Endl marks the end of the current line and brushes the contents of the buffer to the device. That is, all output is no longer stuck in memory just waiting to be written to the stream, and all is actually written to the output stream.

7. Python checks the data type while the program is running. C + + is a statically typed language that examines data types at compile time.

8. An array of underlying data structures that are common to C + + and many programming languages.

We're going to learn tomorrow.

31 Page ~118 page.

The 2nd Chapter variables and basic types.

The 3rd chapter is the string, vector and array.

C + + Primer 1th Chapter

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.