C Programming Language (a)

The first chapter Why learn C language

The process of learning programming, in fact, is to learn how to use a programming language to speak, let the compiler understand the process.

 

Assembly language lack of "portability"

In addition to machine language and assembly language, almost all programming languages are collectively referred to as high-level language , it is characterized by a more natural language, machine language and basically no connection.

Different high-level language compiler, you can put the same high-level language program translated into instructions to adapt to different machines, so most of the high-level language has good portability .

 

ken and der loveliness:

  1. Do things with interest as a starting point, and do not care about what will happen next
  2. Very inquiring mind, like the challenge
  3. Willing to share, without paying

 

Hackers are computer and Internet founder, it is a unique culture.

 

If one thing can be done by X language, you must not do in C language.

C strange, bizarre, numerous defects , and with great success.

The first C language design principles are: Trust programmer .

C language completely satisfy people demanding efficient, well-designed code can be a great resource conservation, but also not as hard to use assembly language, so welcomed by the programmer.

 

Where now also need to use the C language, probably confined to four areas:

  1. C language still is the best option to write the operating system
  2. Where there demanding the efficiency of the program
  3. Where necessary inheritance and maintenance of existing C code
  4. The preferred medium for exchange of ideas language

 

C language is well suited as an entry-level language, C language which is not their own decision, but China's huge C-language education system decision. Information on the C language books, forums, exercises and supplementary educational system is the largest, and without exception, are programs designed for beginners.

 

Computational thinking represents a common understanding and a kind of universal skill, everyone, not just computer scientists, it should be eager to learn and apply.

 

Programming is short for writing programs, termed programming, the program is the master computer controls the computer to go do something, all entrusted to the computer to do things that have to be written into the program.

 

Step programming:

  1. demand analysis
  2. Design : The computer thoroughly understand how to do it: design algorithms, mathematical modeling, mathematical problem solving methods; program code structure design, make the program easy to revise, expand and maintain
  3. Programming : the results of the design into code line by line, is input to the program editor
  4. Debugger : compiling the source code becomes executable program, and then run, see if can meet the requirements 

Guess you like

Origin www.cnblogs.com/dingdangsunny/p/11371581.html