Introduction to C
C is a programming language, a process-oriented language. The language was designed in 1972-1973.
C It has 32 keywords, 9 control statements, and 34 operators.
function is the basic unit of C The execution of a C program always starts with the main function.
C Program Run Step: Source Program----------------- Execute target program.
Basic Algorithm
Complete programming = data structure + Algorithm + programming method + Language Tools
Algorithmic effects: 1. Poor: An algorithm contains a limited number of steps
2. certainty: Every step of the algorithm is determined
3. There are 0 or more inputs
4. There is one or more outputs
5. Validity: Each step of the algorithm should be run effectively and be given a definite result
How the algorithm is represented: 1. Natural language expression
2. Flowchart
3.n-s diagram (box diagram)
4. Pseudo- code
5. Computer language representation
Structured programming Method: 1. Top down 2. Gradual refinement 3. Modular Design 4. Structured coding
This article is from the "Graduation---Awakening---walk" blog, please be sure to keep this source http://tjy888.blog.51cto.com/5576345/1714404
The most most most basic c---c Introduction and basic algorithm