In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
A summary of a lot of important knowledge in C language:
1. The application of some basic functions and basic data types. Among them, the basic data type is divided into integer type, floating point type, character type and enumeration type. Basic functions include input and output functions.
2. Put the operators in a clear order of precedence, and make it clear which operates first and which operates later.
3. Before programming, we should consider the algorithm of the program and write out the flow chart, so that we can program more quickly and effectively.
4. it is necessary to make a clear distinction between the lifetime and scope of each variable, and there can be no confusion, resulting in errors.
5. Arrays and pointers are the classics of c language, which can be universal and converted into each other, and have very powerful functions, but if they are not used properly, they will cause program errors, disrupt the rules of the original programs, and make readability obviously worse.
6. Structure is also a commonly used data type, and its function is also more powerful. compared with pointers, structure is easier to understand and use.
7, for the operation of the file is very critical, save the input data, next time can be used, this is the key issue. Therefore, whether the file operation is successful or not is an important factor in the success of the program.
I think C language is a very basic language, all computer languages are the same, as long as one learns, other languages will be easy to learn. But c language is the foundation of the foundation, mastering c language is very good for other languages to learn in the future. Although I have learned most of the basic knowledge of c language, it is not easy to master c language well. Think that it is not enough to master bit by bit of basic knowledge, mainly to understand the requirements of programming, to think about how to use all the basic knowledge of c language to realize the function of programming, and how to realize it more easily, and so on This requires the organic unity of many factors, such as strong logical thinking, long-term experience accumulation, as well as their own continuous research.
The work of our software testing does not require us to be able to write very complex programs, as long as we can read the programmers' source code. Therefore, it is very necessary and essential to learn the basic knowledge of c language well.
During the period of learning c language, you have to practice on the computer every day, which is also an indispensable step to learn c language well. Because no matter how skillful your theoretical knowledge is, if you don't get on the computer, it won't have any effect. Many problems appear in the actual operation of the computer, and can not be reflected in books. The results of your own thoughts will never appear in books, which is the answer to the saying, "practice is the only criterion for testing truth."
After learning the c language, I used my knowledge in books to complete 11 versions of the software engineer system. I didn't realize how easy it was to write a program until I finished it. Just such a simple program requires constant study and repeated deliberation, as well as a lot of time on the computer, and now we understand why programming is the true meaning of mental work.
In a word, through the study of c language, I have some preliminary understanding and understanding of computer language, so that I no longer know nothing about computer language as before. I think that it is unattainable, very difficult to understand, and ordinary people can't learn it. I think it is possible to learn any computer language well as long as you master the learning methods and practice assiduously. Finally, use a sentence to show how you feel in the process of learning c language, that is, "painful and happy."
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.