The most most most basic c---c Introduction and basic algorithm

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.