C + + Primer fourth Edition after-school practice solution Exercise 1.1

Source: Internet
Author: User

Note: This essay is directly transcribed in the C++primer (fourth edition) Exercise solution (full version). Here is mainly for the convenience of my repeated reading later.

Exercise 1.1

Review the compiler documentation that you are using to understand the file naming conventions it uses. Compile and run the main program of this section.

Troubleshooting

In general, the C + + compiler requires that the compiled program be saved in a file. C + + programs generally involve two types of files: header files and source files. In most systems, the name of the file consists of a filename and a file suffix (also known as an extension). File suffixes usually indicate the type of file, such as the suffix of the header file can be. h or. HPP, etc.: the source file and suffix can be. cc or. cpp, and the specific suffix is related to the compiler used. The file name specification can usually be understood through the online Help documentation provided by the compiler.

C + + Primer fourth Edition after-school practice solution Exercise 1.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.