Vc++windows Programming Technology (1)

Source: Internet
Author: User

1.1Windows Application Features

An understanding of the face-object nature of Windows apps. Does not mean that Windows apps are developed in the language of the face object.

Windows apps can run 2 or more console apps at the same time, while the console app is single-tasking, which means that only one app can run the next time in the same console.

Device-independent graphics output. All the output from the Windows app is graphical.


1.2 Fundamentals of Face object programming

Three characteristics of an object: flags, states, and behaviors. A flag is an object name (identifier); A state is a property of an object, an object's static characteristics (attributes, domains, fields); A behavior is a service that an object can provide, a dynamic characteristic (function, method) of an object.

The class simply defines the type and structure of the data, and there is no specific value, and the process of producing an object according to the definition of the class must be filled in with specific values, even partial or default values. So the class is conceptual and the object is concrete.

The definition of a class takes up a certain amount of storage space, and the class definition method and class name are stored together. When a specific object is produced, the Face object language system allocates storage space for this object, which mainly stores the name and data member of the object;

The static characteristics of an object are unique to each object, but the dynamic feature is public for all objects of a certain type.

The biggest difference between an interface and a class is that the member defined in the interface is not implemented, and the method in the interface is only the method header, and there is no definition of the method body.

An aggregation is a collaborative relationship between two or more objects.

Nesting: Defining another class in a class is called nesting, in a class such as a nested class. inheritance, aggregation, and nesting are the work done in the design phase.

Polymorphic.



Vc++windows Programming Technology (1)

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.