2-ios_C-2

1.operator

a += ;a *= ;a /= ;a %=

it is not important to learn the bitwise stuff

a++ & ++a attention

priority of the logic operator sometimes could be needed

2.loop

continue in a loop means go back to the start of the loop

3.#include

#include : when we recompile the project ,it cpoy the content to replace the "#include" string

#include <> & #include ""

#include <>  --> library file

#include  ""  --> ur own file

4.statement

in C, we put the method's head on top to make a statement

a complete method include 2 parts: method + statement

5.terminator

WASTED

6.   .h

we put the statement files in the .h file

7.   .c

the same name mehtod is forbiden in .c files. 

8.dicimal hex senary :

WASTED

9.array

int array[4]={1,2,3,4} √

int array[4];  array={1,2,3,4};  ×

10.indicator

indicator = RAM address

we put the indicators in Indicators' variety

 when the array become a formal parameter, we can't directly receive the array itself, but a indicator,so we don't know the length of array.

same indicator type --> same type variety

11.String

in C,the String's end is a "/0"

eg:

  char string[]="aaa" !=  char string[]={a,a,a}

former is a string which ends with "/0",but latter is a array which ends with nothing

%s recognize the "/0" to know the String

printf(%s, parameter):get the parameter in RAM,and if there is no "/0",it will keep looking until "/0" shows.and the "/0"-ANSII is 0

when using scanf(),it ends when meet the blank

Sum

we don't need to put our attentions on the String stuff,it is not much important

we can use Indicator to change the formal parameter,but not use the listener stuff like in Java!!!

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值