一.上午培訓(xùn)內(nèi)容 &和 |或 ^異或(相同為0,不同為1) ~取反 1&1=1 0|0=0 1^1=0 0^0=0 0^1=1 ~1=0 十六進(jìn)...
一.上午培訓(xùn)內(nèi)容 預(yù)處理 1.宏定義:只做替代過程,#define PI 3.14(關(guān)鍵字define) 2.文件包含 3.條件編譯:#if 1...
一.上午培訓(xùn)內(nèi)容 鏈表 1-頭指針,2-數(shù)據(jù),3-尾指針(指向下一個頭) 最后一個尾指針為空(NULL) malloc申請,頭文件是stdlib...
一.上午培訓(xùn)內(nèi)容 TXT是最基礎(chǔ)的存儲方式 +表示添加(跟著r或者w用) r-read讀 w-write寫(新建一個文件) rw新建一個文件并且...
#include #include<conio.h> #include #include struct sd { int number; /...
一.上午培訓(xùn)內(nèi)容 隨機(jī)數(shù) /* #include #include #include int main() { int i; srand((un...
一.上午培訓(xùn)內(nèi)容 定義指針int*p,指針存放地址 #include int main() { int *p; int a; p=&a; pri...
//第一題,雞兔同籠,34頭,100腳,雞(38)兔(12)各多少 /* #include int main() { int a,b; int ...