1. Introduction to C language
C language is a general-purpose computer programming language, widely used. The goal of the C language is to provide a programming language that compiles, processes low-level memory, produces a small amount of machine code, and can run without any running environment support in an easy way.
Although the C language provides a lot of low-level processing features, but still maintain a good cross-platform features, a standard specification written in the C language program can be compiled on many computer platforms, and even include some embedded processors (microcontroller or MCU) and supercomputers and other operating platforms.
in the 1980s, in order to avoid the differences in C language grammar used by the development companies, a complete set of international standard grammar, called ANSI C, was set up by the American National Standards Bureau for C language, as the original C language standards.
2, common C language programming software
Novice recommended to use dev C + +, a professional point can be used Microsoft Visual Studio 2017,2017 Microsoft also launched the free version and so on.
3, do a small program, cultivate programming interest----"Hello World"
Hello world means "hello, good". Because the C programme Language used it as the first demonstration program, it was very well known that later programmers continued the habit when they learned to program or debug the device.
here we take dev C + + as a demo
After installation for a simple configuration, this will not demonstrate the
(1) First into the software is this look.
(2) Click File--New--Project Select C Project, then select Console Application
(3) Edit the project name and select Save Directory
(4) Edit code
#include <stdio.h><windows.h>int main () { printf ("Hello world!\n"); System ("pause"); return 0 ;}
(5) Click to run-compile and compile successful click Run-run
End: So, a simple program is written with our hands.
Snow and Rainbow Original
The first program of the C language "Hello world!"