Cvte Windows Development Side 3.7

Source: Internet
Author: User

3 o'clock in the afternoon received a call from Guangzhou, telephone interview overall time is relatively short, 35 minutes.

Research content:

1. Internship: Different people, will be the previous company to do the project, just face and job matching, the interviewer after listening to the wall of their products.

2.c# Event Bindings

Control binding event, not answered, object sender, MouseEventArgs e, and so on. Searching the web, it is estimated that you will also be asked how to clear all methods of binding events.

3.c# 's Delegete delegate, a function pointer similar to C + +, is not answered.

A delegate in C # is similar to a function pointer in C or C + +. Using delegates enables programmers to encapsulate a method reference within a delegate object. You can then pass the delegate object to the code that invokes the referenced method without knowing at compile time which method will be called. Unlike a function pointer in C or C + +, a delegate is object-oriented, and a type-safe function pointer is a pointer to a function entry. Although each function is not a variable, in memory, the function also occupies the corresponding physical address, and the function pointer is the entry address of the function.

Did not answer well, the interviewer good, through an example of a operate B to explain to me, after listening to the first reaction is the feeling and design patterns inside the singleton factory would like to realize the reuse of functions, can refer to here.

4. The object-oriented features

Inheritance, encapsulation, polymorphism.

Inheritance: Through the inheritance mechanism, you can define new data types by using existing data types.

Encapsulation: Hide the properties and implementation details of the object, only expose the interface, control the read and modify the access level of the property in the program, combine the data and behavior (or function) of abstraction to form an organic whole, that is, the source code of data and operation data is organically combined to form "class", Where the data and functions are members of the class.

Polymorphic: in C + +, polymorphic is divided into static polymorphic (compile time) and dynamic polymorphism (runtime).

Static polymorphism can be implemented by overloading the functions, by the number of different parameter types, and by template templates.

Dynamic polymorphism, virtual functions, and interfaces are all achievable, subclasses rewrite the virtual functions of the parent class, and classes implement different interfaces.

And then I said, by the way. C + + multiple inheritance, and the Java/c# interface, C + + supports multiple inheritance, subclasses can inherit multiple parent classes, and the interface is equivalent to pure virtual function, just declare.

Thought, at that time should by the way the application of these things also say, after all, the project used 0.0.

5. Data structure algorithm

Maintains a queue with an array.

!!! Too simple, thought the topic heard wrong,,, 2 pointers to record the head circumference position, push operation, the tail pointer behind the move, pop operation head pointer back. In the middle of the last pointer is the element within the team.

The second question is that I have said a recent question, dfs+ status record, Hiho #1474 Chaizi game. However, the interviewer said, oh this and the little mouse maze almost ah, embarrassed, it seems that the force lattice is not high enough.

Does not ask any network, the operating system, the database question, may be because of the cast Windows development post bar.

Asked the following officers, if there are 2 sides, 24 hours will contact. Then the summer internship only 1 months, July to August.

Cvte Windows Development Side 3.7

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.