My first C ++ computer report is calculated as 124-4

Source: Internet
Author: User
/** Copyright and version statement of the program: * Copyright (c) 2012, Emy of computer science, Yantai University * All rights reserved. * file name: test. cpp * Author: Zhao guanzhe * Completion Date: July 15, September 29, 2012 * version number: v1.0 * description of the task and solution section: * input Description: none * Problem description: "I" was the first C ++ program, familiar with the editing and running processes of the program, and announced that "I" entered this field * program output: "C ++, I have Zhao guanzhe. "* Problem Analysis: slightly * Algorithm Design: slightly */# include <iostream> using namespace std; int main () {cout <" C ++, I have Zhao guanzhe. "; return 0 ;}
 
Experience: The first time I came into contact with C ++, I was careful when coding and was afraid of errors. Fortunately, it was a pass. C ++, we will become good friends. Knowledge Point Summary: A program must have at least one function. The main function is often called the primary function. All the statements in the function are included in a pair of curly braces. In code writing, avoid mistakes that may cause program failure due to symbol errors.
The symbols of the Code should be English characters. Do not use the symbols when using the Chinese input method.
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.