C # several layers of language,

Source: Internet
Author: User

C # several layers of language,

I received a letter from a recent C # training student. Although the student lacks skills in the past, he has a strong learning base and is growing fast in the training. Even if you are familiar with the. NET Framework (revision), you are not enough to become a master. The purpose of the letter is to help you in the advanced direction.

To tell the truth, I generally don't want to give guidance on the major issues related to personal development, because too many personal or insightful experiences tell me that life is really hard to predict, kindness, wisdom, and diligence these character we cherish often encounter terrible reality. I feel that when I encourage a person, I only pay attention to "procedural justice" and have little confidence to assure him "Result Justice ". Life is not like software. It can have a good output under a good design.

However, if I do not want to disappoint my post-learning, I will take the liberty to write down the following simple experiences, extract a paragraph, and accept the review from my friends:

Regardless of specific fields (such as search, video, network, etc.), the vertical direction of a single programming language is roughly divided into the following layers.

1. basically use the C # syntax to complete some basic program tasks with the support of various tools and sample code

2. Be familiar with object-oriented and component structures, and be familiar with them to complete the development tasks of small-scale information management software projects.

3. Have a deep understanding of the CLR kernel mechanism and have a clear understanding of the advantages and disadvantages, applicability, and efficiency of various types and. NET platform mechanisms, so as to complete projects with high technical complexity.

4. Be able to easily grasp the loose coupling principle and accurately use various languages to construct large-scale software projects.

5. Be able to understand and grasp programming languages from the perspectives of computer abstraction, system and historical development.

I have determined that you are currently in a position between 2 and 3. Of course, some of your growth in these directions can greatly help you, and some of your training can only help you, experience and attitudes towards technology are even more important

To be honest, the programming language shouldn't be so important, but now, after nearly two years of training experience, Lin Zong, a trainee, has almost no programming experience at the bottom, to the high-end enterprises as key development tasks. It is found that in China, programming languages are actually a hard injury to most developers, and most programmers are between 1-2-the reason is not much to mention, the computer education at Chinese universities is only after a person has a thorough understanding of the computer, can he realize how absurd and failed it is.

It may have been inspired by the passion of Xian, such as Cai Yuanpei and Mei Xiaoqi. Two years ago, he started to go to software training with an education mentality. It was really hard for two years, however, although it is not big, I am very pleased to see that the reality is being changed.


C Language & |! What are

& Is the address fetch operator used to extract the address of a variable.
For example, if you define a variable, the system will allocate a space in the memory during compilation.
The location of the space in the memory is its address. & Extract its address.
E. g int a; assign an address to it during compilation, for example, 2000; & a is 2000.
If an integer pointer Variable p, p = & a; is defined, the address 2000 of a is assigned to p. P = 2000 after running.
Another example is scanf ("% d", & a). When you enter 3, it first knows the address of a according to & a, and finds the space of a in the memory by the address, write 3 to this space.
* Is a pointer operator, which is opposite to &. It extracts the value of a Variable Based on the address of the variable.
For example, * the value of a is 3 of variable.
The following is a summary of the pointer used in the definition and description.
Int * p; defines a pointer to integer data.
Int * p [n]; defines the pointer array p, which consists of n pointer elements pointing to integer data.
Int (* p) [n]; p is the pointer variable pointing to a one-dimensional array containing n elements.
Int * p (); p is the function that returns a pointer pointing to integer data.
Int (* p) (); p is the pointer to the function. This function returns an integer value.
Int ** p; p is a pointer variable that points to an integer Data Pointer variable.
If you want to learn more about the system, you can refer to tan haoqiang's c Programming (the third edition), which is easy to understand. Is a good C language learning material.

C Language & |! What are

& Is the address fetch operator used to extract the address of a variable.
For example, if you define a variable, the system will allocate a space in the memory during compilation.
The location of the space in the memory is its address. & Extract its address.
E. g int a; assign an address to it during compilation, for example, 2000; & a is 2000.
If an integer pointer Variable p, p = & a; is defined, the address 2000 of a is assigned to p. P = 2000 after running.
Another example is scanf ("% d", & a). When you enter 3, it first knows the address of a according to & a, and finds the space of a in the memory by the address, write 3 to this space.
* Is a pointer operator, which is opposite to &. It extracts the value of a Variable Based on the address of the variable.
For example, * the value of a is 3 of variable.
The following is a summary of the pointer used in the definition and description.
Int * p; defines a pointer to integer data.
Int * p [n]; defines the pointer array p, which consists of n pointer elements pointing to integer data.
Int (* p) [n]; p is the pointer variable pointing to a one-dimensional array containing n elements.
Int * p (); p is the function that returns a pointer pointing to integer data.
Int (* p) (); p is the pointer to the function. This function returns an integer value.
Int ** p; p is a pointer variable that points to an integer Data Pointer variable.
If you want to learn more about the system, you can refer to tan haoqiang's c Programming (the third edition), which is easy to understand. Is a good C language learning material.

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.