1.details of Indicator
quote:https://blog.csdn.net/constantin_/article/details/79575638
1.1 the Indicator it-self type
1.2 the Indicator point at type (remove a "*")
2. 1[num]???
3.Don't put much attention on the basic theory,cause u are not a Pro Student,u are A dagongzai.
4.var name = 'String",this String locates in the constant area in C,we can't revise it's address in RAM,but in java,the "constants" would be marked with "final",normally the normal var is revisable
5.const
const *p = the p --> RAM is read-only
* const p= p itself is read-only
6.malloc
set up a room in RAM
free --> won't use this room in RAM again.
p = NULL , clear up the Indicator
7.structor
it's like the Bean in Java
8.enumeration
amis to replace the "Arab numbers"
9.macro deifination
#head method to simplified when re-complie the file
with parameter / without parameter
10.conditional compiling
#if、#ifdef、#ifndef ... to replace the if()else{}
quote: http://c.biancheng.net/view/449.html
11.static
the static in C is different from in Java
here we just create a room in RAM for a var once as local var
12.extern
function:
extend the scope of a var
mark a var with extern and we can invoke it in other file
Sum
the key of C is about the Indicator,and the C learning we just end for a while