C language basic learning 01_c language overview

===================================================== ============================
Each language has its own unique grammar rules and language definitions.

An instruction is the smallest unit of program control over a computer.
The set of all instructions is called the computer's instruction system.

A program is a sequence of instructions written in a language to accomplish a specific task.
===================================================== ============================
Machine Language------------>Assembly Language------- --->High Level Language
010101 Compiler Identifier Compiler C language, C++, Java, etc.
----------------------------- - ----------------------------
       Machine-oriented Human-oriented
assembly language and machine language are both machine-oriented, different machines have different languages .
The emergence of high-level languages ​​makes programmers get rid of the limitations of computer hardware, and focus on programming instead of low-level computer hardware.

The problem-solving method of C language is: analyze the steps required to solve the problem, and regard the program as the process of data being processed.
Programming languages ​​based on such methods become procedurally oriented languages. C language is such a procedure-oriented programming language.

Advantages of C language: small amount of code, fast execution speed, powerful functions, and freedom of programming.
Disadvantages of C language: long writing code implementation cycle, poor portability, too free, lack of experience, error-prone, and more dependence on platform libraries.
===================================================== ============================= If
you learn mathematics, physics and chemistry, you are not afraid to travel all over the world; if you
learn C/C++ language, you are not afraid to travel all over the world.
    (1) C language can write website background program.
    (2) C language can write a gorgeous GUI interface.
    (3) C language can write a powerful program library specifically for a certain topic, and then it can be used by other programs conveniently, so that other programs can save development time.
    (4) C language can write engines for large-scale games.
    (5) C language can write another language.
    (6) C language can write operating systems and drivers, and can only be written in C language. All source codes of Linux operating systems can be obtained from the Internet. To understand the operating secrets of the operating system in depth, if you understand C language, you can read it. Understand.
    (7) As long as any device is equipped with a microprocessor, it supports the C language. From microwave ovens to mobile phones, they are all driven by C language technology.
===================================================== ============================
C language advantages: concise, compact, easy to use, flexible, powerful, high execution efficiency; strong expressiveness , Good portability
C language only has 32 keywords, 9 control statements
C language is not as good as others: for
      example, in string processing, it is not as good as Perl language;
      For example, in numerical computing, it is not as good as Fortran; for
      example, in artificial intelligence, it is not as good as Lisp.
===================================================== ============================ 
32 keywords: (defined by the system, can not be redone other definitions)

======= ===================================================== =====================
9 control statements:
    if( )~else~
    for( )~
    while( )~
    do~while( )
    continue
    break
    switch
    goto
    return
= ===================================================== ===========================
34 operators:

===================== ===================================================== ========
Methods and secrets of learning C language:
    1. Do more and ask for less people
    2. Learn more excellent code
    3. Use human thinking methods to compare computers, and use human thinking to convert computer processing methods
    (if you can't figure out how to do this, don't let the computer do it)
The goal of learning C language:
    1. Learn C Language (reciting like a flow, using like flying)
    2. Master programming skills and simple algorithms
    3. Get the interview part of the world's top 500 C language
===================== ===================================================== ======

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326379263&siteId=291194637