3-ios_C-3

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

 

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值