July 7, 2017 23:15:51
Outside the rain, suddenly want to learn C language, so brush the foundation.
Notes:
C Language Tutorials
1.C language is a universal, process-oriented computer programming language. In 1972, in order to transplant and develop the UNIX operating system, Dennis Ritchie designed and developed the C language in Bell Telephone lab.
C is a widely used computer language that is as popular as the Java programming language, and is widely used by modern software programmers.
2. #include <stdio.h>
int main ()
{
/* My first C program */
printf ("Hello, world! \ n ");
return 0;
}
Instance parsing:
All C language programs need to include the main () function. The code executes from the main () function.
/* ... * * for comment description.
printf () is used to format the output to the screen. The printf () function is declared in the "stdio.h" header file.
Stdio.h is a header file (standard input Output header file) and #include is a preprocessing command used to introduce header files. When the compiler encounters the printf () function, a compilation error occurs if the Stdio.h header file is not found.
return 0; Statement is used to indicate exiting a program.
C Language Basics "C language Tutorial"