The pleasure of using C is in the precise control of every part of the program, the data structure, the algorithm, and the enjoyment of seeing them work properly.
To learn the C language, to learn, you need to learn to start with the full control of the program, at the beginning, try to only call the most basic library functions. Make sure you know exactly how every part of the program works.
Pure C, more like a belief ...
--lead to ' know '
I. Use of the C language
1. Operating system/Driver development. The C language is a native language, convenient to access hardware, and efficient to perform, so it is the preferred language for operating system and driver development. Whether it is windows or Unix/linux, the code of its operating system is mostly developed by C;
2. Embedded development, that is, running on a non-PC, in fact, this is similar to operating systems or drivers;
3. Game development, whether it is the server side of online games, or 3D client, C + + has a large number of mature libraries, can help you quickly develop stable and efficient software;
4. Database programs, whether Oracle or MSSQL, are provided with the C language interface (proc, etc.), you can easily develop database programs;
5. Application middleware, many of the very cow application server is also developed by C. Apache/.../
6.GUI program, actually this piece is slightly weaker than VB or other. But there is a cross-platform out-of-the-box GUI library support, but also a lot of applications, such as the QT library, this application is very large Nokia mobile system (Symbian), WX Library, or MFC library (of course, MFC is not just a GUI library), GTK and so on.
Ii. features of the C language
Advantages:
1. Simple language, compact, easy to use, flexible
2. Rich operator
3. Data types are rich, with modern language of various data structures
4. Structured control statements
5. Grammar restrictions are not very strict, programming freedom is large
6. Language allows direct access to physical addresses and hardware operations
7. High quality of generated target code, high program execution efficiency
8. Programs written in C are good portability (compared to assembly language)
Disadvantages:
The disadvantage of 1.C language is mainly manifested in the encapsulation of data, which makes C has a great flaw in the security of data, which is a big difference between C and C + +.
2.C language grammar restrictions are not strict, the type constraints of the variable is not strict, affect the security of the program, the array subscript out of bounds do not check, from the point of application, C language than other advanced reasons more difficult to master, that is, the C language, the requirements of the design of more skilled.
Iii. outline of the content of C language
1. Basic syntax: Data types, operators, expressions and statements, control flow
2. Core syntax: function, array, pointer, struct (community, Union)
3. Advanced syntax: storage type, memory management, preprocessing, advanced Declaration, Word alignment, address alignment
Four, C language learning methods
More practice, more thinking, more summary, more reference
This article is from the "Yunfei Dance" blog, please make sure to keep this source http://wuyunncu.blog.51cto.com/5978596/1684831
C-language Learning notes-a brief overview