1. Summary Notes

Pretreatment, library functions, keywords, comments, statements:
Pretreatment: # beginning with some commands, features, these commands are before compiling the source code file, a certain treatment.
#include <stdio.h> stdio.h processing the file is to copy and paste the instruction.
Library function: With the compiler is available to developers of some of the commonly used functions.
system: initiating a cmd command of
putchar: a character output
getchar: Get a character
_getch: no echo of acquiring a character
-----------------------------------------------
printf (format control string, .....): Output Formatting
scanf (control string format, .....): formatted input
Basic common, it must be remembered
    % D decimal input / output an integer,
    % C character
    % Lf float
    % S string
Recommended familiar:
    % X hexadecimal integer
    % O octal
    % P value output in a form of an address.
We know about the two functions:
gets: Gets a string
puts: Output a string
Keywords: word has a special meaning and can not be used for other purposes.
What is called for other purposes, it can not be used as identifiers .
Not int int; int char;    
int INT this is possible.
int Int this is possible.
Note: Tips acts described, good coding practices is as detailed as possible.
Statement: ends with a semicolon, the basic unit of execution of C language
What makes up a C language: Function.

Guess you like

Origin www.cnblogs.com/lianfeng132/p/12350043.html