Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
As we all know, we just learn to build a station, always want to learn to program, do not say that you are proficient in programming, but at least we can read, and learn to program from the most basic C language, and today many of the old webmaster more or less have a few years of experience in building stations, perhaps no longer to see the so-called programming language, No longer pursue technical details. However, let us take the C language as the beginning of memory, let us recall the characteristics of the C language to recall the efforts of the year, and then look back, many difficult past may let me cherish more beautiful today. Then let's take a look at the C language together.
C language is purely process oriented, very flexible and simple, where pointers are important to master. From the 2012 programming language rankings, we also see Java seat, and C language is the top, then let us review the C language.
1, there is a certain number of keywords, but also includes a complete set of flow control primitives for If/else, while, switch, do/while and other circular statements.
2, C language from naming, for user-defined variables is case-sensitive, case-sensitive, this is not the same as VB.
3, there are a large number of arithmetic and logical operators, such as +, + + + (self-added),--(self-reduction), & and so on.
4, when not needed, function return value can be ignored.
5, static weak execution: All data has a type, but can be implicitly converted, for example, you can convert characters to integers.
6, the declaration syntax simulation of the use of the environment. c there is no "definition" keyword, instead of being treated as a declaration, the name of the declaring type begins. Without a keyword such as "function", it is a bracket representation of a function's argument list.
7. User-defined (typedef) and composite types exist. Heterogeneous collection data types (struct) allow access and allocation of related data memory as a unit.
8, the index of the array is a secondary concept, defined in the arithmetic operation of the pointer.
9, different structures, arrays are the first class objects, they cannot be assigned, or use built-in, there is no "array" similar keywords, in the use or definition are square brackets to represent array syntax, such as month[11].
10. Enum is the keyword in the enumeration type. Integers that do not have labels and are freely converted to each other.
11, the string is not a separate data type, but by convention can be implemented with a null-terminated character array.
12. Low-level access to computer memory is accessed by a pointer to the machine address translation type.
13, the program (subroutine does not return the value) in special cases, and untyped return type void (that is, no return type).
14, the function may not be defined in the lexical scope of other representations. function and data pointers allow Pro, runtime polymorphism.
15, the introduction of a preprocessor for macro definition, source code file contains, conditional compilation.
16, there is a basic modular form: Files can be compiled and linked together, control which features and data objects are visible other files, through the static and extern properties to represent.
17, has been delegated to complex functions, such as I/O, string processing, mathematical function library routines.
18, C is not included in the new, more modern language, including some features of object-oriented and garbage collection.
Well, the above enumerated the C language 18 characteristics, for the primary webmaster who want to learn C language, the above summary of C is a C language knowledge of the architecture, can be used for learning reference. For the old webmaster, there are always a few can let you recall the situation of the study of C. Memories of intravenous drip, to cherish possession. This article by I love IT technology network http://www.52ij.com/provide, reprint please famous source, thank you for your cooperation.