Programming language Understanding, Learning C + + Primer 5th edition function call operator P506

Source: Internet
Author: User

Understand:

method is called with ().

To be more abstract, the method is a variable name, and "()" is a simple representation of the calling method (also for the compiler to recognize), and the calling method is the result of the operation.

Eg:a = 1; A is a variable name, and "=" is a simple expression of the assignment (but we have been in touch with the language for too long and the subconscious has assumed that = is the assignment.) But in fact, "=" into the @, replaced by "assignment", and what is different, 1 is the parameter (can flow object) Tag1.

TAG1: The person is the object, the object will have the fixed task. Provide the interface (service, work) to ensure the operation of the entire program (society), but the object (person) will have a variety of situations to communicate with other objects, the object (person) will flow to the target object there, the information to the past, the target object there to end the processing of the event to obtain results.

Programming language Understanding, Learning C + + Primer 5th edition function call operator P506

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.