MyNotes:
/******************************************************************************/
Array儲存已是位址,所以不用帶 &
Array是透過指標變數在操控Array內的值
輸出記憶體位置記號: &i
結構變數:存值變數
malloc(): 函式動態配置的空間
強制轉型寫法:(student *)malloc( );
由keyboard輸入資料: scanf("xxxxxxxx"); (XCode新版不可用)
/******************************************************************************/
點運算子,可以取內容:
ex. struct student stu={"Mary", 90};
stu.name
/******************************************************************************/
pstu->name :箭頭符號表示結構運算子
Propocessor directive 前端處理程式
1. 巨集 Marco
2. 定義常數 Constant
/******************************************************************************/
列舉型別:
typedef enum color{
red, ==>表示0
blue ==>表示1
}color;
/******************************************************************************/
Cocoa touch:
/******************************************************************************/