Linux Shell 指令 1. ls 列出目前目錄內所有目錄與檔案 ( 不含隱藏檔 ) -a ( 含隱藏檔 ) mv test.txt.test.txt test.txt 隱藏檔 -l 列出詳細資料 d rwx r-x r-x (d: 目錄,r: 可讀,w: 可寫,x: 可執行 ) -al 2.
|
|
- 年 留
- 5 years ago
- Views:
Transcription
1 9/19 移植 (porting) 1. ARM 2. MIPS 嵌入式 (Embedded) 單一完整功能精簡, 使用 SOC 晶片 ( 系統晶片 ) RAM(DDR)/Von-Volatile Memory(Flash) CPU Speed~1GHZ <1GBytes <1GBytes 嵌入式系統 1. bootloader(assembly +c) 2. Kernel(c) 3. File system(utility)[ext2,ext3,yaffs, busybox(dhcpc/d)] 4. Usreland Application 使用者區應用程式 (c++,java) 如 :boa 嵌入式網頁伺服器 移植 跨平台編譯 (cross compiling) 跨平台編譯需要 Toolchain, 如 arm linux gcc 或 mips linux gcc gcc(x86)( 混搭 makefile)
2 Linux Shell 指令 1. ls 列出目前目錄內所有目錄與檔案 ( 不含隱藏檔 ) -a ( 含隱藏檔 ) mv test.txt.test.txt test.txt 隱藏檔 -l 列出詳細資料 d rwx r-x r-x (d: 目錄,r: 可讀,w: 可寫,x: 可執行 ) -al 2. chmod 更改屬性 (rwx) 指令格式 1. chmod 二進智 十進制可 1 root group user 不可 0 rwx rwx rwx Ex chmod 444 test.txt ( 可讀不可寫不可執行 ) 2. chmod +x -x +w -w +r -r ( 只有 root 有效 ) 3. mv 更改檔案 / 目錄名稱 4. cp 複製 1.cp( 空格 ) 檔案 ( 空格 ) 新檔名 2.cp( 空格 )r 目錄 ( 空格 ) 新目錄名 5. rm 刪除 1.rm( 空格 ) 檔名 2.rm( 空格 ) r( 空格 ) 目錄名 6. mkdir 建目錄 1.mkdir( 空格 ) 目錄名 2.mv( 空格 ) 檔名 ( 空格 ) 目錄名 /. 把檔案之檔案移動到目錄名之目錄內, 新檔名同原檔名 3.cp( 空格 ) 檔名 ( 空格 ) 目錄名 /. 把檔名之檔案複製到目錄名之目錄內, 新檔名同原檔名 7. 環境變數 1.PATH 可執行檔之路徑 2.LD_LIBRARY_PATH 動態程式庫路徑 3.echo $PATH 可得知可執行檔之路徑, 一般為 /bin/usr/bin 或 /usr/local/bin 或 /sbin/usr/sbin 簡單之 shell script( 手稿 ) #! /bin /bash echo $PATH
3 8. 設定環境變數 export 1.export 環境變數名 = 字串 ( 變數設定 ) 2.export PATH= 新加入執行路徑 : $PATH 9. pwd 列印目前工作的目錄完整路徑名稱 1..( 目前目錄 ) 2...( 上一層目錄 ) 3. ~( 使用者家目錄 ) 10. find 找檔案 1.find( 空格 ) 搜尋路徑 ( 空格 )-name( 空格 ) 檔名例 find./ -name text2.txt 11. 可以找出搜尋路徑內含有檔名之檔案之完整路徑取代檔名例 : cp / home /p304 /embedded /test.txt test2.txt 12. grep 找檔案內之某關鍵字 1.grep( 空格 )-rn( 空格 ) 關鍵字 " 搜尋路徑 r: 搜尋子路徑 n: 顯示關鍵字所在之行號例 : grep -rn embedded embedded/* gcc(gnu C Compiler) Linux C 編譯器 1.c( 空格 )-o( 空格 ) 執行檔名 ( 空格 ) 原始 C 程式碼檔名.C -o( 產生執行檔 ) 2. Wall 顯示編譯過程中所有警告 -I 檔頭檔路徑名 (header file path) 某檔頭檔所在之過程 -L 程式庫所在路徑 ( 編譯 ) 某程式庫所在路徑 -l 程式庫名 ( 連結 ) (link) 程式庫名之程式碼 ( 機械碼 ) -g 加入除錯訊息 3. gcc create static library =gcc 產生靜態 library hello.c #include <stdio.h> int main (int argc,char** argv) printf ("Hello Embedded World \n"); return;
4 1. 靜態程式庫 (static library) 1. 副檔名.a 2. 動態程式庫 (dyramic library) 1. 副檔名.so[. 版本 ( 主 ). 版本 ( 次 ). 版本 ( 附加 )] calc_mean.c double mean(double a,double b) return (a+b)/2.0; 3. 編譯成 libmean.a 程式庫,mean 這地方可以改變 1.gcc( 空格 )-c( 空格 )calc_mean.c -c: 只編譯會產生 obj 檔 (.o), 不會產生執行檔 calc_mean: 程式庫原始 c 程式碼檔名.c [-o( 空格 ) 指定檔名.o], 沒有指定 obj 檔名會產生與 c 程式碼相同檔各之 obj 檔 ( 如 calc_mean.o) 2.ar( 空格 )rcs( 空格 )libmean.a( 空格 )calc_mean.o r: 取代或加入 obj 檔 c: 產生程式庫 s: 加入 obj 檔之指標 3. 結果將產生 libmean.a 之程式庫 4. 寫一檔頭檔 (header) 1.double mean(double a,double b); 2. 儲存為 mean.h 5. 寫一測試 mean 副程式之程式 test_mean.c #include <stdio.h> #include "mean.h" int main (int argc,char** argv) printf ("(1+2)/2 = %f \n",mean(1.0,2.0)); return 0;
5 指令 gcc Wall o test_mean test_mean.c L./ -Lmean -I 檔頭檔路徑建立資料夾把檔名放入資料夾作法 gcc Wall o test_mean.c Llib lmean Iinclude 9/26 1.Linux C 編譯器 gcc 2.Linux C++ 編譯器 g++ 1.C 原始碼 a.c 存在 src 目錄 2.C 檔頭檔 a.h 存在 include 目錄, 需用 libxxx.a( 或 libxxx.so) 3. 存在 lib 目錄 4. 將 a.c 編譯程執行檔 a 1.gcc( 空格 )-Iinclude ( 空格 )a.c( 空格 )-o( 空格 ) a( 空格 )-lxxx( 空格 )-Llib -Iinclude: 檔頭檔所在目錄 a.c: 要編譯之原始碼 -o( 空格 )a: 產生執行檔, 檔名為 a -lxxx: 指定使用程式庫 5.make 指令 1. 輔助 c/c++ 編譯工具, 檔名一般為 Makefile( makefile) 2. 下指令 make 時,make 為預設執行 Makefile 內容, 若自定 Makefile 之檔名為 Makefile1 3. 下指令 make f makefile1,make 將編譯 makefile1 之內容 6.Makefile 內容 1. 語法 : 1.Target( 目的 ): 相關檔 (Tab) 指令 (Exe 1) 2. 當相關檔有變化時, 重新執行指令 Exe1, 產生新的 Target 3.C 程式碼 :hello.c 1. 執行檔 hello 2.Makefile 內容 all:hello hello:hello.c
6 gcc Wall hello.c o hello 3. 存為 Makefile, 下指令 make 4.Makefile 內容 ( 解說 ) 第一個目標為 all all: 子目標 1 子目標 2 make [-f 指定 Makefile 檔名 ][ 目標名 ] 解說 : Makefile: 省略時, 預設為 Makefile 目標名 : 省略時, 預設為 all Makefile all:hello hello:hello.c (Tab)gcc -Wall hello.c -o hello clean: (Tab)rm hello Makefile2 all:hello hello:hello.o (Tab)gcc -Wall hello.o -o hello hello.o:hello.c (Tab)gcc -Wall -c hello.c -o hello.o clean: (Tab)rm*.o (Tab)rm hello 解說 : hello.o--> 目標 (.o 檔 ) -c--> 必要 hello.c--> C 程式檔 -c hello.c -o hello.o--> 產生過程中之.o 檔目標 ( 執行檔 ):C 程式檔或 obj 檔 gcc -Wall C 程式檔 -o 執行檔或 gcc Wall.o 檔 -o 執行檔 1. 分類 在 src/ 目錄內建 mean 子目錄, 將 test_mean.c 移到 mean/ 目錄內
7 Makefile all:test_mean.c test_mean:test_mean.c (Tab)gcc -I../../include test_mean.c -o test_mean -lmean -L../../lib clean: (Tab)rm test_mean calc_mean.c double mean(double a,double b) return((a+b)/2.0); 2. 編譯 gcc Wall c calc_mean.c o calc_mean.o 成.o 檔 1. 下指令 ar rcs libmean.a calc_mean.o 2. 將產生 libmean.a 儲存到 lib/ 3. 新建 mean.h 內容 Double mean(double a,double b); 4. 儲存到 include/ ( 與前面相同 ) 3.Makefile 之變數 CFLAGS = -Wall I../../.include LDFLAGS = -L../../lib 變數名 = 字串 Makefile2 all:test_mean test_mean:test_mean.c (Tab)gcc $(CFLAGS) test_mean.c -o test_mean $(LDFLAGS) -lmean 例 CFLAGS = -Wall -I../../include LDFAGS = -L../../lib LIBS = -lmean [TARGET = test_mean] Makefile3 all:test_mean[ 或 $(TARGET)] test_mean:test_mean.c
8 (Tab)gcc $(CFLAGS) test_mean.c -o test_mean $(LDFLAGS) $(LIBS) clean: (Tab)rm test_mean 解說 : test_mean.c--> 相關檔案之最左邊一個檔案 ($<) test_mean--> 目標名 ($@) 4. 各檔案丟入各資料夾 src/mean Makefile2,src/mean Makefile3 10/3 一 設計加減乘除 1. 在 src/ 內建 2. calc 之子目錄 calc/ 內建 add,sub,mult,div,include 5 個子目錄 3. add/ 內建 add.c double add(double a,double b) return (a+b); 4. sub/ 內建 sub.c double sub(double a,double b) return (a-b); 5. mult/ 內建 mult.c double mult(double a,double b) return (a*b); 6. div/ 內建
9 div.c double div(double a,double b) return (a/b); 7.calc/ 內建 calc.c #include <stdio.h> #include "add.h" #include "sub.h" #include "mult.h" #include "div.h" void show (double res); int main(int argc,char** argv) double a,b; printf(" 請輸入 a,b 兩數 \n"); scanf("%lf %lf",&a,&b); // 當 a,b 為 double 資料 fflush(stdin); // 清除緩衝區 printf(" 請選擇運算方式,+: 加,-: 減,*: 乘,/: 除, 結束 :q(q) \n"); char op; scanf("( 空格 )%c",&op); fflush(stdin); double result; switch(op) case '+' : result = add(a,b);show(result); case '-':result = sub(a,b);show(result); case '*':result = mult(a,b);show(result); case'/': if(b==0) printf(" 除法運算時,b 不可為 0 \n");
10 else result=div(a,b); show(result); return 0; void show(double res) printf(" 結果 =%f \n",res); 8. 在 calc/include/ 內建 1.add.h,sub.h,mult.h,div.h 1add.h 內容 double add(double a,double b); 2sub.h 內容 double sub(double a,double b); 3mult.h 內容 double mult(double a,double b); 4div.h 內容 double div(double a,double b); 9. 在 calc 內寫 Makelife CFLAGS = -Wall -I./include all:calc calc:calc.o add.o sub.o mult.o div.o (Tab)gcc $(CFLAGS) $^ -o $@ calc.o:calc.c (Tab)gcc $(CFLAGS) -c $< -o $@ add.o:./add/add.c (Tab)gcc $(CFLAGS) -c $< -o $@ sub.o:./sub/sub.c (Tab)gcc $(CFLAGS) -c $< -o $@ mult.o:./mult/mult.c
11 (Tab)gcc $(CFLAGS) -c $< -o div.o:./div/div.c (Tab)gcc $(CFLAGS) -c $< -o clean: rm *.o rm add/*.o rm sub/*.o rm mult/*.o rm div/*.o rm calc 10. 目標 : 相關檔 (Tab) 指令 $@ = 目標名字串 $^ = 相關檔字串 $^ = 相關檔字串 $< = 相關檔字串內第一個檔名例 : calc:calc.o add.o sub.o (Tab)gcc -Wall $^ -o $@ 相當於 (Tab)gcc -Wall calc.o add.o sub.o o calc 此時 $^ = calc.o add.o sub.o $@=calc calc:calc.c add.h (Tab)gcc -Wall -c $< -o $@ gcc -Wall -c calc.c -o calc.o 此時相關檔字串 = calc.c add.h $< = calc.c $@ = calc.o 另一種寫法如下 : 程式庫一副程式之集合編輯 arithm.c int add(int a,int b) return(a+b);
12 int sub(int a,int b) return(a-b); int mult(int a,int b) return(a*b); double div(double a,double b) return(a/b); 編輯 arithm.h int add(int a,int b); int sub(int a,int b); int mult(int a,int b); double div(double a,double b); 使用 gcc 將 arithm.c 編譯成 arithm.o(obj 檔 ) gcc Wall c arithm.c 註 :-c 告訴 gcc 產生.o 將 arithm.o 轉成 libarithm.a 靜態程式庫 ar rcs libarithm.a arithm.o (ar rcs lib 程式庫名程式庫名.o) 輸入指令 : mkdir src cd src mdir arithm 存放 libarithm.a 之原始碼, 即 arithm.c, 編輯 arithm.c 後編譯成 libarithm.a 後存在 ~/embedded/lib 接著 cd ~/embedded/src
13 mkdir testarithm cd testarithm 編輯 main.c 編輯 main.c #include <stdio.h> #include arithm.h void show(double res); int main(int argc,char ** argv) double a,b; char operator; double result; char quit=0; while(quit==0) printf( 請輸入 a,b 兩數值或按 q(q) 結束 \n ); scanf( %lf %lf,&a,&b); //%lf 雙精準度格式 &a 存在到變數 a 之記憶體位置 &b 存放到變數 b 之記憶體位置 fflush(stdin); printf( 請輸入運算方式, 加 :+, 減 :-, 乘 :x, 除 :/, 結束 :q(q) \n ); scanf( ( 空白 )%c,&operator); //%c 字元 char 格式 fflush(stdin); quit=0; swith(operator) case + : result=add(a,b); show(result); //case + 結束點 case - : result=sub(a,b); show(result); case x : result=mult(a,b); show(result);
14 case / : if(b==0) printf( b 不可為 0 \n ); else result=div(a,b); show(result); case q : case Q : quit=1; return 0; void show(double res) //void 空回傳 printf( 結果為 %f \n,res); 編譯 main.c gcc Wall I$HOME/embedded/src/arithm L$HOME/embedded/lib o testarithm main.c larithm 10/17 計算日期輸入年月日輸出該年月日為一週內之第幾天
15 1. 使用 localtime 可取得目前之年 / 月 / 日 星期 / 時 / 分 / 秒 2. 計算輸入日期與今天日期之差, 差除以 7 之餘 + 今天之星期再求除 7 之餘數 3. 計算日期時需注意閏年 1 可以被 400 整除 2 不可以被 100 整除但可被 4 整除 4.tm 資料結構秒 tm_sec 0~59 分 tm_min 0~59 時 tm_hour 0~23 月內之天數 tm_mday 1~31 月 tm_mon 0~11( 從 1 月起算 ) 年 tm_year 1900 之後年份 週內之天數 tm_wday 0~6( 從星期日起算 ) 年內之天數 tm_yday 0~365( 從 1 月 1 日起算 ) [ 程式 1] 顯示現在日期時間 today.c #include <stdio.h> #include <time.h> #include <string.h> struct tm * getdate() struct tm*today=null; time_t timeval; timeval = time(null); today = localtime(&timeval); return today; // 顯示現在之年月日時分秒 int main(int argc,char ** argv) struct tm * thedate; thedate = getdate(); int year,mon,day,hour,min,sec; year = thedate->tm_year+1900; mon = thedate->tm_mon; day = thedate->tm_mday; hour = thedate->tm_hour;
16 min = thedate->tm_min; sec = thedate->tm_sec; char monstr[4]; char weekstr[4]; switch(mon) case 0: strcpy(monstr,"jan"); case 1: strcpy(monstr,"feb"); case 2: strcpy(monstr,"mar"); case 3: strcpy(monstr,"apr"); case 4: strcpy(monstr,"may"); case 5: strcpy(monstr,"jun"); case 6: strcpy(monstr,"jul"); case 7: strcpy(monstr,"aug"); case 8: strcpy(monstr,"sep"); case 9: strcpy(monstr,"oct"); case 10: strcpy(monstr,"nov");
17 case 11: strcpy(monstr,"dec"); int wday; wday = thedate->tm_wday; switch(wday) case 0:strcpy(weekstr,"Sun"); case 1:strcpy(weekstr,"Mon"); case 2:strcpy(weekstr,"Tue"); case 3:strcpy(weekstr,"Wed"); case 4:strcpy(weekstr,"Thu"); case 5:strcpy(weekstr,"Fri"); case 6:strcpy(weekstr,"Sat"); int yday yday = thedate->tm_yday int year1,mon1,day1; printf(" 現在時間 %d %s. %d %s %d:%d:%d \n",year,monstr,day,weekstr,hour,min,sec); printf(" 輸入要計算之日期 ( 年月日 )\n"); scanf("%d %d %d",&year1,&mon1,&day1); return 0; 執行 gcc Wall o today today.c./today 10/24 [ 程式 2] 判斷閏年 data.c #include <stdio.h> #include <time.h>
18 #include <string.h> struct tm * getdate() struct tm*today=null; time_t timeval; timeval = time(null); today = localtime(&timeval); return today; char testleap(int year) if(year % 100!=0) if(year % 4 ==0) return 1; else return 0; else if(year % 400 ==0) return 1; else return 0; int calleap(int year1,int year2) int i; int count=0; if(year1 > year2) return 0; else for(i=year1; i<=year2; i++)
19 count += testleap(i); return count; int pastdays(int year,int mon,int day) int count=0; int i; for(i=0; i<mon-1; i++) if(i==0 i==2 i==4 i==6 i==7 i==9) count+=31; else if(i==1) count+=(testleap(year)+28); else count+=30; count+=day; return count; int remaindays(int year,int mon,int day) int count; count = 365-pastDays(year,mon,day)+testLeap(year); return count; // 顯示現在之年月日時分秒 int main(int argc,char ** argv) struct tm * thedate; thedate = getdate(); int year,mon,day,hour,min,sec; year = thedate->tm_year+1900; mon = thedate->tm_mon; day = thedate->tm_mday;
20 hour = thedate->tm_hour; min = thedate->tm_min; sec = thedate->tm_sec; char monstr[4]; char weekstr[4]; switch(mon) case 0: strcpy(monstr,"jan"); case 1: strcpy(monstr,"feb"); case 2: strcpy(monstr,"mar"); case 3: strcpy(monstr,"apr"); case 4: strcpy(monstr,"may"); case 5: strcpy(monstr,"jun"); case 6: strcpy(monstr,"jul"); case 7: strcpy(monstr,"aug"); case 8: strcpy(monstr,"sep"); case 9: strcpy(monstr,"oct"); case 10:
21 strcpy(monstr,"nov"); case 11: strcpy(monstr,"dec"); int wday; wday = thedate->tm_wday; switch(wday) case 0:strcpy(weekstr,"Sun"); case 1:strcpy(weekstr,"Mon"); case 2:strcpy(weekstr,"Tue"); case 3:strcpy(weekstr,"Wed"); case 4:strcpy(weekstr,"Thu"); case 5:strcpy(weekstr,"Fri"); case 6:strcpy(weekstr,"Sat"); int yday; int year1,mon1,day1; yday = thedate->tm_yday; //wday2str(wday,weekstr); printf(" 現在時間 %d %s. %d(%d) %s. %d:%d:%d \n",year,monstr,day,yday,weekstr,hour,min,sec); printf(" 輸入要計算之日期 ( 年月日 )\n"); scanf("%d %d %d",&year1,&mon1,&day1); int daycount,calwday; if(year1<year) daycount=remaindays(year1,mon1,day1)\ +calleap(year+1,year-1)\ +365*(year-year-1)\ +yday+1; calwday=daycount%7; calwday=(wday-calwday+7)%7;
22 else if(year1>year) daycount=remaindays(year,mon+1,day)\ +calleap(year+1,year1-1)\ +365*(year1-year-1)\ +pastdays(year1,mon1,day1); calwday=daycount%7; calwday=(calwday+wday)%7; else int pdays=pastdays(year1,mon1,day1); if(pdays<(yday+1)) daycount=yday+1-pdays; calwday=daycount%7; calwday=(wday-calwday+7)%7; else daycount=pdays-yday-1; calwday=daycount%7; calwday=(calwday+wday)%7; printf("%d/%d/%d is %d \n",year1,mon1,day1,calwday); return 0; 執行 gcc Wall o data data.c./data
新・明解C言語入門編『索引』
!... 75!=... 48 "... 234 " "... 9, 84, 240 #define... 118, 213 #include... 148 %... 23 %... 23, 24 %%... 23 %d... 4 %f... 29 %ld... 177 %lf... 31 %lu... 177 %o... 196 %p... 262 %s... 242, 244 %u... 177
More information华恒家庭网关方案
LINUX V1.5 1 2 1 2 LINUX WINDOWS PC VC LINUX WINDOWS LINUX 90% GUI LINUX C 3 REDHAT 9 LINUX PC TFTP/NFS http://www.hhcn.com/chinese/embedlinux-res.html minicom NFS mount C HHARM9-EDU 1 LINUX HHARM9-EDU
More information新版 明解C++入門編
511!... 43, 85!=... 42 "... 118 " "... 337 " "... 8, 290 #... 71 #... 413 #define... 128, 236, 413 #endif... 412 #ifndef... 412 #if... 412 #include... 6, 337 #undef... 413 %... 23, 27 %=... 97 &... 243,
More informationCC213
: (Ken-Yi Lee), E-mail: feis.tw@gmail.com 9 [P.11] : Dev C++ [P.12] : http://c.feis.tw [P.13] [P.14] [P.15] [P.17] [P.23] Dev C++ [P.24] [P.27] [P.34] C / C++ [P.35] 10 C / C++ C C++ C C++ C++ C ( ) C++
More informationMicrosoft Word - 把时间当作朋友(2011第3版)3.0.b.06.doc
2 5 8 11 0 13 1. 13 2. 15 3. 18 1 23 1. 23 2. 26 3. 28 2 36 1. 36 2. 39 3. 42 4. 44 5. 49 6. 51 3 57 1. 57 2. 60 3. 64 4. 66 5. 70 6. 75 7. 83 8. 85 9. 88 10. 98 11. 103 12. 108 13. 112 4 115 1. 115 2.
More informationC 1
C homepage: xpzhangme 2018 5 30 C 1 C min(x, y) double C // min c # include # include double min ( double x, double y); int main ( int argc, char * argv []) { double x, y; if( argc!=
More informationstatic struct file_operations gpio_ctl_fops={ ioctl: gpio_ctl_ioctl, open : gpio_open, release: gpio_release, ; #defineled1_on() (GPBDAT &= ~0x1) #def
Kaise s 2410 Board setting [1]. Device Driver Device Driver Linux s Kernel ARM s kernel s3c2410_kernel2.4.18_r1.1_change.tar.bz2 /usr/src (1) #cd /usr/src (2) #tar xfj s3c2410_kernel2.4.18_r1.1_change.tar.bz2
More informationCC213
: (Ken-Yi Lee), E-mail: feis.tw@gmail.com 49 [P.51] C/C++ [P.52] [P.53] [P.55] (int) [P.57] (float/double) [P.58] printf scanf [P.59] [P.61] ( / ) [P.62] (char) [P.65] : +-*/% [P.67] : = [P.68] : ,
More informationebook8-30
3 0 C C C C C C++ C + + C++ GNU C/C++ GNU egcs UNIX shell s h e l l g a w k P e r l U N I X I / O UNIX shell awk P e r l U N I X C C C C C C U N I X 30.1 C C U N I X 70 C C U N I X U N I X U N I X C Dennis
More informationMicrosoft Word - linux命令及建议.doc
Linux 操 作 系 统 命 令 集 1 基 本 命 令 查 看 系 统 信 息 : uname -a 修 改 密 码 : passwd 退 出 : logout(exit) 获 取 帮 助 : man commands 2 文 件 和 目 录 命 令 显 示 当 前 工 作 目 录 : pwd 改 变 所 在 目 录 : cd cd - 切 换 到 上 一 次 使 用 的 目 录 cd 切 换
More informationC/C++ - 文件IO
C/C++ IO Table of contents 1. 2. 3. 4. 1 C ASCII ASCII ASCII 2 10000 00100111 00010000 31H, 30H, 30H, 30H, 30H 1, 0, 0, 0, 0 ASCII 3 4 5 UNIX ANSI C 5 FILE FILE 6 stdio.h typedef struct { int level ;
More informationFY.DOC
高 职 高 专 21 世 纪 规 划 教 材 C++ 程 序 设 计 邓 振 杰 主 编 贾 振 华 孟 庆 敏 副 主 编 人 民 邮 电 出 版 社 内 容 提 要 本 书 系 统 地 介 绍 C++ 语 言 的 基 本 概 念 基 本 语 法 和 编 程 方 法, 深 入 浅 出 地 讲 述 C++ 语 言 面 向 对 象 的 重 要 特 征 : 类 和 对 象 抽 象 封 装 继 承 等 主
More information本文由筱驀釹贡献
本 文 由 筱 驀 釹 贡 献 ppt 文 档 可 能 在 WAP 端 浏 览 体 验 不 佳 建 议 您 优 先 选 择 TXT, 或 下 载 源 文 件 到 本 机 查 看 Linux 操 作 系 统 Linux 操 作 系 统 第 一 部 分 介 绍 与 安 装 Linux 的 由 来 : Linux 的 由 来 : 的 由 来 Linus Torvalds 1.Linux 的 版 本 1.Linux
More informationPowerPoint 演示文稿
Linux 操 作 系 统 基 础 介 绍 课 程 目 标 及 要 求 了 解 Linux 操 作 系 统 的 登 入 方 式 掌 握 常 用 命 令 的 基 本 用 法 能 够 熟 练 在 各 个 目 录 转 换 Outline 1. Linux 操 作 系 统 简 介 2. Linux 操 作 系 统 的 登 录 3. Linux 操 作 系 统 的 目 录 结 构 4. 常 用 命 令 5.
More informationuntitled
A, 3+A printf( ABCDEF ) 3+ printf( ABCDEF ) 2.1 C++ main main main) * ( ) ( ) [ ].* ->* ()[] [][] ** *& char (f)(int); ( ) (f) (f) f (int) f int char f char f(int) (f) char (*f)(int); (*f) (int) (
More informationzt
#! " #$$%& ()*+, - $% - $./001-2!& & & & "& & & & #& - - $& 3,.0& $ 4(5 #$$%$/1 #$ $.$ - 1%$/%/ % $$ -.$ - $/6.$$$. 7889!! :::& 7;9& ;? $.$ - #$# 66 7889!! :::& 7;9& >@A& >?,, B.$6#.!.1 #$$%.. #$$%.
More information1 LINUX IDE Emacs gcc gdb Emacs + gcc + gdb IDE Emacs IDE C Emacs Emacs IDE ICE Integrated Computing Environment Emacs Unix Linux Emacs Emacs Emacs Un
Linux C July 27, 2016 Contents 1 Linux IDE 1 2 GCC 3 2.1 hello.c hello.exe........................... 5 2.2............................... 9 2.2.1 -Wall................................ 9 2.2.2 -E..................................
More informationCC213
: (Ken-Yi Lee), E-mail: feis.tw@gmail.com 177 [P179] (1) - [P181] [P182] (2) - for [P183] (3) - switch [P184] [P187] [P189] [P194] 178 [ ]; : : int var; : int var[3]; var 2293620 var[0] var[1] 2293620
More informationC/C++语言 - C/C++数据
C/C++ C/C++ Table of contents 1. 2. 3. 4. char 5. 1 C = 5 (F 32). 9 F C 2 1 // fal2cel. c: Convert Fah temperature to Cel temperature 2 # include < stdio.h> 3 int main ( void ) 4 { 5 float fah, cel ;
More information第3章.doc
3 3 3 3.1 3 IT Trend C++ Java SAP Advantech ERPCRM C++ C++ Synopsys C++ NEC C C++PHP C++Java C++Java VIA C++ 3COM C++ SPSS C++ Sybase C++LinuxUNIX Motorola C++ IBM C++Java Oracle Java HP C++ C++ Yahoo
More information投影片 1
資料庫管理程式 ( 補充教材 -Part2) 使用 ADO.NET 連結資料庫 ( 自行撰寫程式碼 以實現新增 刪除 修改等功能 ) Private Sub InsertButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles InsertButton.Click ' 宣告相關的 Connection
More informationuntitled
1 DBF (READDBF.C)... 1 2 (filetest.c)...2 3 (mousetes.c)...3 4 (painttes.c)...5 5 (dirtest.c)...9 6 (list.c)...9 1 dbf (readdbf.c) /* dbf */ #include int rf,k,reclen,addr,*p1; long brec,erec,i,j,recnum,*p2;
More information第 1 页共 9 页 文档履历 版本号日期制 / 修订人内容描述 V 正式版本
V3s 项目 CamDroid 编译第三方程序 / V1.0 第 1 页共 9 页 文档履历 版本号日期制 / 修订人内容描述 V1.0 2014-04-23 正式版本 第 2 页共 9 页 目录 1. 交叉编译环境... 3 2. 第三方库的 Makefile 示例... 4 3. 第三方应用 Makefile 示例... 5 4. 第三方应用 CamLinux.mk 示例... 6 5. 常见错误...
More information2013 C 1 # include <stdio.h> 2 int main ( void ) 3 { 4 int cases, a, b, i; 5 scanf ("%d", & cases ); 6 for (i = 0;i < cases ;i ++) 7 { 8 scanf ("%d %d
2013 18 ( ) 1. C pa.c, pb.c, 2. C++ pa.cpp, pb.cpp, Compilation Error cin scanf Time Limit Exceeded 1: A 5 B 5 C 5 D 5 E 5 F 5 1 2013 C 1 # include 2 int main ( void ) 3 { 4 int cases, a, b,
More informationC 1 # include <stdio.h> 2 int main ( void ) { 4 int cases, i; 5 long long a, b; 6 scanf ("%d", & cases ); 7 for (i = 0;i < cases ;i ++) 8 { 9
201 201 21 ( ) 1. C pa.c, pb.c, 2. C++ pa.cpp, pb.cpp Compilation Error long long cin scanf Time Limit Exceeded 1: A 1 B 1 C 5 D RPG 10 E 10 F 1 G II 1 1 201 201 C 1 # include 2 int main ( void
More informationMicrosoft Word - 在VMWare-5.5+RedHat-9下建立本机QTopia-2.1.1虚拟平台a.doc
在 VMWare-5.5+RedHat-9 下建立 本机 QTopia-2.1.1 虚拟平台 张大海 2008-5-9 一 资源下载 1. 需要以下安装包 : tmake-1.13.tar.gz qtopia-free-source-2.1.1.tar.gz qt-embedded-2.3.10-free.tar.gz qt-x11-2.3.2.tar.gz qt-x11-free-3.3.4.tar.gz
More information投影片 1
類 Linux BASH shell (, VBird) 2008/03/29 Linux 1 Bash Shell 令 vi vim 料流 令 / 令 理 (job control) 例 2008/03/29 Linux 2 Bash shell 2008/03/29 Linux 3 什 Shell Shell shell 2008/03/29 Linux 4 什 Shell Linux shell
More informationuntitled
1 1.1 1.2 1.3 1.4 1.5 ++ 1.6 ++ 2 BNF 3 4 5 6 7 8 1.2 9 1.2 IF ELSE 10 1.2 11 1.2 12 1.3 Ada, Modula-2 Simula Smalltalk-80 C++, Objected Pascal(Delphi), Java, C#, VB.NET C++: C OOPL Java: C++ OOPL C# C++
More informationPs22Pdf
A B C D A B C D A B C D a a b c x x x x x x x x x x x x x x x x x a b c x a x x x x x x x x x x a b a b a b x x x x x x x x x x x x A B C A B C A B A B A x B C x D A B C a b c a b x x x x x x x A B A
More informationThe golden pins of the PCI card can be oxidized after months or years
Q. 如何在 LabWindows/CVI 編譯 DAQ Card 程式? A: 請參考至下列步驟 : 步驟 1: 安裝驅動程式 1. 安裝 UniDAQ 驅動程式 UniDAQ 驅動程式下載位置 : CD:\NAPDOS\PCI\UniDAQ\DLL\Driver\ ftp://ftp.icpdas.com/pub/cd/iocard/pci/napdos/pci/unidaq/dll/driver/
More information第11章 可调内核参数
11 11 Unix BSD 4.4 Linux sysctl Unix Linux /proc window /proc /proc/sys /proc/sys sysctl Unix root /proc/sys/vm root /proc/sys sysctl /proc/sys struct ctl_table 18274 struct ctl_tables /proc/sys struct
More informationC语言的应用.PDF
AVR C 9 1 AVR C IAR C, *.HEX, C,,! C, > 9.1 AVR C MCU,, AVR?! IAR AVR / IAR 32 ALU 1KBytes - 8MBytes (SPM ) 16 MBytes C C *var1, *var2; *var1++ = *--var2; AVR C 9 2 LD R16,-X ST Z+,R16 Auto (local
More informationepub83-1
C++Builder 1 C + + B u i l d e r C + + B u i l d e r C + + B u i l d e r C + + B u i l d e r 1.1 1.1.1 1-1 1. 1-1 1 2. 1-1 2 A c c e s s P a r a d o x Visual FoxPro 3. / C / S 2 C + + B u i l d e r / C
More informationebook35-2
2 2.1 Linux login Login: < > Password: < > Linux r o o t l o g o u t 2.2 Linux X Window Linux Linux Bourne ( b s h ) C ( c s h ) Korn ( k s h ) Bourne Steven Bourne UNIX Bourne bash Bourne C Bill Joy Bourne
More informationC/C++程序设计 - 字符串与格式化输入/输出
C/C++ / Table of contents 1. 2. 3. 4. 1 i # include # include // density of human body : 1. 04 e3 kg / m ^3 # define DENSITY 1. 04 e3 int main ( void ) { float weight, volume ; int
More informationC C
C C 2017 3 8 1. 2. 3. 4. char 5. 2/101 C 1. 3/101 C C = 5 (F 32). 9 F C 4/101 C 1 // fal2cel.c: Convert Fah temperature to Cel temperature 2 #include 3 int main(void) 4 { 5 float fah, cel; 6 printf("please
More informationMicrosoft Word - 2016职称安排修改 -6.22-于.docx
吉 人 社 办 字 2016 46 号 关 于 印 发 2016 年 吉 林 省 职 称 评 聘 工 作 的 安 排 意 见 的 通 知 各 市 ( 州 ) 长 白 山 管 委 会 县 ( 市 区 ) 人 力 资 源 和 社 会 保 障 局, 省 直 各 单 位 ( 部 门 ) 及 直 属 企 事 业 单 位, 驻 省 中 直 有 关 单 位, 各 评 聘 结 合 改 革 及 试 点 单 位, 省
More informationBOOL EnumWindows(WNDENUMPROC lparam); lpenumfunc, LPARAM (Native Interface) PowerBuilder PowerBuilder PBNI 2
PowerBuilder 9 PowerBuilder Native Interface(PBNI) PowerBuilder 9 PowerBuilder C++ Java PowerBuilder 9 PBNI PowerBuilder Java C++ PowerBuilder NVO / PowerBuilder C/C++ PowerBuilder 9.0 PowerBuilder Native
More informationLinux 操作系统课程社区创作
学 号 14284060xx 等 第 苏 州 大 学 实 验 报 告 Linux 操 作 系 统 课 程 社 区 创 作 院 ( 系 ) 名 称 : 电 子 信 息 学 院 专 业 名 称 : 14 通 信 工 程 ( 嵌 入 式 培 养 ) 学 生 姓 名 : 某 某 某 课 程 名 称 : Linux 操 作 系 统 2015-2016 学 年 第 一 学 期 1 摘 要 这 是 摘 要 主 要
More informationUnix®t Œ fi z.PDF
7 9 8 0 $ man umount newfs $ man -a intro $ man -a chown ORDER=C:ADM:ADMN:ADMP:PADM:F:HW 8 1 # catman % ps aux grep chavez chavez 8684 89.5 9.627680 5280? R N 85:26 /home/j90/l988 root 10008 10.0 0.8 1408
More information! "#$%& $()*+#$, $(-.&,./.+#/(-.&01( &-#&(&$# (&2*(,#-3.,14& $ +()5(*-#5(-#/-/#(-1#&-+)(& :;<<= > A B?
! "#$%& $()*+#$, $(-.&,./.+#/(-.&01( &-#&(&$# (&2*(,#-3.,14& $ +()5(*-#5(-#/-/#(-1#&-+)(&- 67789:;
More information006 2014 年 第 6 期 总 第 322 期 一 寻 找 博 尔 赫 斯 向 中 心 汇 聚 过 来 的 街 道, 五 条 街 道, 六 条 街 道, 我 在 水 中 央 仿 佛 一 朵 莲 花 盛 开, 有 千 万 片 花 瓣 在 摇 曳 舒 展 不 知 道 该 往 哪 个 方 向 走 布
005 葛 芳,1975 年 出 生 于 江 苏 江 阴 中 国 作 家 协 会 会 员, 江 苏 省 作 家 协 会 签 约 作 家, 获 紫 金 山 文 学 奖 和 冰 心 散 文 奖 鲁 迅 文 学 院 第 十 九 届 中 青 年 作 家 高 研 班 学 员 著 有 散 文 集 空 庭 隐 约 江 南 中 短 篇 小 说 集 纸 飞 机 现 居 苏 州 实 力 作 家 向 南 极 眺 望 葛
More information!"# $%& %!"# $%& %!"#$%& %! ( )***%% ) $)! +**+),,* -)+.* )( ) +, +*.*)+..**! )$,*)+$))$!"!#
!"#$%& % ( % )& (% ( % (( )( !"# $%& %!"# $%& %!"#$%& %! ( )***%% ) $)! +**+),,* -)+.* )( ) +, +*.*)+..**! )$,*)+$))$!"!# !"#$%& %!! "! # " $ # % & & ( ) *!+ !"#$%& % ( (*( (*+ "#$% $%%"# (*, (*% + +*(
More information9202reply-s.doc
1 16 () (A) (B) (C) (D) B () B D (B) (D)22 (A) (B) (C) 5 12 C C 34 2 3 1. 89 42 (B) 2. 42 151 44 27 () () 69 79 89 (A) ( ) 1,803 2,039 2,217 (B) (/) 4.8 4.0 3.3 (C) 65 (%) 4.1 6.1 8.5 (D) (%) 9.9 15.8
More informationMicrosoft Word - 全文.doc
在 鲜 于 璜 碑 全 国 书 法 名 家 作 品 邀 请 展 开 幕 式 上 的 致 辞 张 勇 尊 敬 的 各 位 领 导 各 位 嘉 宾 书 法 界 的 朋 友 们 : 大 家 上 午 好! 天 高 气 爽, 秋 月 墨 香 今 天, 鲜 于 璜 碑 全 国 书 法 名 家 作 品 邀 请 展 开 幕 式 在 武 清 隆 重 举 行, 这 是 书 法 界 的 一 大 盛 事, 也 是 武 清
More informationMicrosoft Word - 2008年9月二级C真卷.doc
机 密 启 用 前 2008 年 9 月 全 国 计 算 机 等 级 考 试 二 级 笔 试 试 卷 C 语 言 程 序 设 计 24 注 意 事 项 一 考 生 应 严 格 遵 守 考 场 规 则, 得 到 监 考 人 员 指 令 后 方 可 作 答 二 考 生 拿 到 试 卷 后 应 首 先 将 自 己 的 姓 名 准 考 证 号 等 内 容 涂 写 在 答 题 卡 的 相 应 位 置 上 三
More informationlect03.ppt
Linux 操 作 系 统 Linux 基 础 主 要 内 容 q 使 用 Linux q Linux 的 两 种 登 录 方 式 q 字 符 操 作 环 境 和 X Windows 系 统 q Linux 图 形 界 面 基 本 操 作 q Linux 命 令 的 使 用 方 式 q Linux 一 些 常 用 命 令 1 2 一 些 基 本 术 语 u 命 令 (Command) 给 计 算 机
More informationC C C The Most Beautiful Language and Most Dangerous Language in the Programming World! C 2 C C C 4 C 40 30 10 Project 30 C Project 3 60 Project 40
C C trio@seu.edu.cn C C C C The Most Beautiful Language and Most Dangerous Language in the Programming World! C 2 C C C 4 C 40 30 10 Project 30 C Project 3 60 Project 40 Week3 C Week5 Week5 Memory & Pointer
More informationC++ 程式設計
C C 料, 數, - 列 串 理 列 main 數串列 什 pointer) 數, 數, 數 數 省 不 不, 數 (1) 數, 不 數 * 料 * 數 int *int_ptr; char *ch_ptr; float *float_ptr; double *double_ptr; 數 (2) int i=3; int *ptr; ptr=&i; 1000 1012 ptr 數, 數 1004
More informationnooog
C : : : , C C,,, C, C,, C ( ), ( ) C,,, ;,, ; C,,, ;, ;, ;, ;,,,, ;,,, ; : 1 9, 2 3, 4, 5, 6 10 11, 7 8, 12 13,,,,, 2008 1 1 (1 ) 1.1 (1 ) 1.1.1 ( ) 1.1.2 ( ) 1.1.3 ( ) 1.1.4 ( ) 1.1.5 ( ) 1.2 ( ) 1.2.1
More informationC
C 14 2017 5 31 1. 2. 3. 4. 5. 2/101 C 1. ( ) 4/101 C C ASCII ASCII ASCII 5/101 C 10000 00100111 00010000 ASCII 10000 31H 30H 30H 30H 30H 1 0 0 0 0 0 ASCII 6/101 C 7/101 C ( ) ( ) 8/101 C UNIX ANSI C 9/101
More information1 Project New Project 1 2 Windows 1 3 N C test Windows uv2 KEIL uvision2 1 2 New Project Ateml AT89C AT89C51 3 KEIL Demo C C File
51 C 51 51 C C C C C C * 2003-3-30 pnzwzw@163.com C C C C KEIL uvision2 MCS51 PLM C VC++ 51 KEIL51 KEIL51 KEIL51 KEIL 2K DEMO C KEIL KEIL51 P 1 1 1 1-1 - 1 Project New Project 1 2 Windows 1 3 N C test
More informationuntitled
1 7 7.1 7.2 7.3 7.4 7.5 2 7.1 VFT virtual 7.1 3 1 1. 2. public protected public 3. VFT 4. this const volatile 4 2 5. ( ) ( ) 7.1 6. no-static virtual 7.2 7. inline 7.3 5 3 8. this this 9. ( ) ( ) delete
More informationMicrosoft Word - 实用案例.doc
计 算 机 系 统 应 用 2009 年 第 12 期 嵌 入 式 Linux 下 温 湿 度 传 感 器 的 设 计 与 实 现 1 Design and Implementation of Temperature and Humidity Sensor Based on Embedded Linux 陈 博 刘 锦 高 ( 华 东 师 范 大 学 电 子 科 学 技 术 系 上 海 200241)
More informationSpyder Anaconda Spyder Python Spyder Python Spyder Spyder Spyder 開始 \ 所有程式 \ Anaconda3 (64-bit) \ Spyder Spyder IPython Python IPython Sp
01 1.6 Spyder Anaconda Spyder Python Spyder Python Spyder Spyder 1.6.1 Spyder 開始 \ 所有程式 \ Anaconda3 (64-bit) \ Spyder Spyder IPython Python IPython Spyder Python File
More informationC/C++ 语言 - 循环
C/C++ Table of contents 7. 1. 2. while 3. 4. 5. for 6. 8. (do while) 9. 10. (nested loop) 11. 12. 13. 1 // summing.c: # include int main ( void ) { long num ; long sum = 0L; int status ; printf
More informationuntitled
不 料 料 例 : ( 料 ) 串 度 8 年 數 串 度 4 串 度 數 數 9- ( ) 利 數 struct { ; ; 數 struct 數 ; 9-2 數 利 數 C struct 數 ; C++ 數 ; struct 省略 9-3 例 ( 料 例 ) struct people{ char name[]; int age; char address[4]; char phone[]; int
More informationMicrosoft Word - 把时间当作朋友(2011第3版)3.0.b.07.doc
2 5 8 11 0 1. 13 2. 15 3. 18 1 1. 22 2. 25 3. 27 2 1. 35 2. 38 3. 41 4. 43 5. 48 6. 50 3 1. 56 2. 59 3. 63 4. 65 5. 69 13 22 35 56 6. 74 7. 82 8. 84 9. 87 10. 97 11. 102 12. 107 13. 111 4 114 1. 114 2.
More informationAndes Technology PPT Temp
Makefile WWW.ANDESTECH.COM Cygwin Cygwin is a Unix-like environment and command-line interface for Microsoft Windows. Cygwin provides native integration of Windows-based applications, data, and other system
More informationExcel VBA Excel Visual Basic for Application
Excel VBA Jun5,00 Sub 分頁 () Dim i As Integer Dim Cname As String Dim Code As Variant Set score=thisworkbook.sheets("sheet") Code=Array(" 專北一 "," 專北二 "," 專北三 "," 專桃園 "," 專桃竹 "," 專中苗 ", " 專台中 "," 專台南 ","
More information6 C51 ANSI C Turbo C C51 Turbo C C51 C51 C51 C51 C51 C51 C51 C51 C C C51 C51 ANSI C MCS-51 C51 ANSI C C C51 bit Byte bit sbit
6 C51 ANSI C Turbo C C51 Turbo C C51 C51 C51 C51 C51 C51 C51 C51 C51 6.1 C51 6.1.1 C51 C51 ANSI C MCS-51 C51 ANSI C C51 6.1 6.1 C51 bit Byte bit sbit 1 0 1 unsigned char 8 1 0 255 Signed char 8 11 128
More information嵌入式系统实验报告之一
南京航空航天大学 嵌入式系统综合实验报告 Qtopia 在 S3C2440 开发板上的移植 040630520 彭立勋 2009.05 一 实验目的 1. 熟悉 ARM 体系结构 ; 2. 熟悉 Qtopia 图形环境 二 实验内容 将 Qtopia 图形环境移植到 FriendlyARM QQ2440 开发板 三 预备知识 Qtopia 的体系结构 四 实验设备及工具 硬件 :QQ2440 开发板
More informationR = R + R + R + R + R + R A 1 2 3 4 5 6 l m l - l 1 m 0.5 0.4 0.4K 1 0.5 R B R I m R A Rm I 10 0.4 RB 0.04K 10 m R = K 50 0.008K c R = K 100 = 0.004k D R = K 250 = 0.0016K 5 3 R 3 1 - R R A 6 R + R 0.4
More information正式发文
甘 肃 省 国 家 税 务 局 2015 年 政 府 信 息 公 开 工 作 年 度 报 告 本 年 度 报 告 根 据 中 华 人 民 共 和 国 政 府 信 息 公 开 条 例 要 求, 由 甘 肃 省 国 家 税 务 局 编 制 全 文 包 括 基 本 情 况 主 动 公 开 政 府 信 息 情 况 依 申 请 公 开 政 府 信 息 情 况 政 府 信 息 公 开 咨 询 处 理 情 况 政
More informationebook70-22
2 2 L i n u x f s t a b X 11 L i n u x L i n u x L i n u x D O S Wi n d o w s L i n u x O p e n L i n u x / u s r / m a n / m a n 5 f s t a b m o u n t m o u n t L i n u x 22.1 OpenLinux L i n u x U N
More informationMicrosoft Word - 第5章.doc
目 录 及 权 限 管 理 随 着 的 不 断 发 展, 越 来 越 多 的 人 开 始 使 用, 对 于 那 些 刚 接 触 的 人 来 说, 恐 怕 最 先 感 到 困 惑 的 就 是 那 些 不 明 不 白 的 目 录 了 同 样, 系 统 是 一 个 典 型 的 多 用 户 系 统 为 了 保 护 系 统 的 安 全 性, 系 统 对 不 同 用 户 访 问 同 一 文 件 或 目 录 的
More information第7章-并行计算.ppt
EFEP90 10CDMP3 CD t 0 t 0 To pull a bigger wagon, it is easier to add more oxen than to grow a gigantic ox 10t 0 t 0 n p Ts Tp if E(n, p) < 1 p, then T (n) < T (n, p) s p S(n,p) = p : f(x)=sin(cos(x))
More informationmvc
Build an application Tutor : Michael Pan Application Source codes - - Frameworks Xib files - - Resources - ( ) info.plist - UIKit Framework UIApplication Event status bar, icon... delegation [UIApplication
More informationORACLE Enterprise Linux 6.3下ORACLE11g的安装
ORACLE Enterprise Linux 6.3 环 境 下 ORACLE11g 的 安 装 文 档 1 安 装 前 的 参 数 配 置 Auther:chenzhuzuo@163.com 以 下 操 作 需 要 一 root 用 户 的 身 份 进 行 操 作 1.1 在 文 件 /etc/sysctl.conf 中 添 加 如 下 内 容 fs.le-max = 6815744 fs.aio-max-nr
More information2015年计算机二级(C语言)模拟试题及答案(四)
2016 年 计 算 机 二 级 (C 语 言 ) 模 拟 试 题 及 答 案 (4) 一 填 空 题 1 C 语 言 中 基 本 的 数 据 类 型 有 : 2 C 语 言 中 普 通 整 型 变 量 的 类 型 说 明 符 为, 在 内 存 中 占 字 节, 有 符 号 普 通 整 型 的 数 据 范 围 是 3 整 数 -35 在 机 内 的 补 码 表 示 为 4 执 行 下 列 语 句 int
More informationebook15-C
C 1 1.1 l s ( 1 ) - i i 4. 14 - d $ l s -ldi /etc/. /etc/.. - i i 3077 drwxr-sr-x 7 bin 2048 Aug 5 20:12 /etc/./ 2 drwxr-xr-x 13 root 512 Aug 5 20:11 /etc/../ $ls -ldi /. /..... i 2 2 drwxr-xr-x 13 root
More informationAbstract arm linux tool-chain root NET-Start! 2
Lab III - Embedding Linux 1 Abstract arm linux tool-chain root NET-Start! 2 Part 1.4 Step1. tool-chain 4 Step2. PATH 4 Part 2 kernel 5 Step1. 5 Step2... 6 Step3...8 Part 3 root. 8 Step1. 8 Step2. 8 Part
More informationC/C++语言 - 分支结构
C/C++ Table of contents 1. if 2. if else 3. 4. 5. 6. continue break 7. switch 1 if if i // colddays.c: # include int main ( void ) { const int FREEZING = 0; float temperature ; int cold_ days
More information2013 C 1 #include <stdio.h> 2 int main(void) 3 { 4 int cases, i; 5 long long a, b; 6 scanf("%d", &cases); 7 for (i = 0; i < cases; i++) 8 { 9 scanf("%
2013 ( 28 ) ( ) 1. C pa.c, pb.c, 2. C++ pa.cpp, pb.cpp Compilation Error long long cin scanf Time Limit Exceeded 1: A 10 B 1 C 1 D 5 E 5 F 1 G II 5 H 30 1 2013 C 1 #include 2 int main(void) 3
More information内 容 提 要 将 JAVA 开 发 环 境 迁 移 到 Linux 系 统 上 是 现 在 很 多 公 司 的 现 实 想 法, 而 在 Linux 上 配 置 JAVA 开 发 环 境 是 步 入 Linux 下 JAVA 程 序 开 发 的 第 一 步, 本 文 图 文 并 茂 地 全 程 指
内 容 提 要 将 JAVA 开 发 环 境 迁 移 到 Linux 系 统 上 是 现 在 很 多 公 司 的 现 实 想 法, 而 在 Linux 上 配 置 JAVA 开 发 环 境 是 步 入 Linux 下 JAVA 程 序 开 发 的 第 一 步, 本 文 图 文 并 茂 地 全 程 指 导 你 搭 建 Linux 平 台 下 的 JAVA 开 发 环 境, 包 括 JDK 以 及 集
More informationchap07.key
#include void two(); void three(); int main() printf("i'm in main.\n"); two(); return 0; void two() printf("i'm in two.\n"); three(); void three() printf("i'm in three.\n"); void, int 标识符逗号分隔,
More information, 即 使 是 在 昏 暗 的 灯 光 下, 她 仍 然 可 以 那 么 耀 眼 我 没 有 地 方 去, 你 会 带 着 我 么 杜 晗 像 是 在 嘲 笑 一 般, 嘴 角 的 一 抹 冷 笑 有 着 不 适 合 这 个 年 龄 的 冷 酷 和 无 情, 看 着 江 华 的 眼 神 毫 无 温
爱 情 飞 过 苍 凉 / 作 者 :18758265241 1 红 色 格 子 的 旅 行 箱, 在 湿 漉 漉 地 上 发 出 刺 啦 刺 啦 的 声 音, 那 么 刺 耳, 就 像 是 此 刻 杜 晗 的 里 一 样, 烦 躁 而 不 安 就 这 样 走 出 来 了,18 年 禁 锢 自 己 的 地 方 就 在 身 后, 杜 晗 手 指 关 节 泛 白, 紧 紧 地 拉 着 旅 行 箱, 走
More informationC/C++ - 数组与指针
C/C++ Table of contents 1. 2. 3. 4. 5. 6. 7. 8. 1 float candy [ 365]; char code [12]; int states [50]; 2 int array [6] = {1, 2, 4, 6, 8, 10}; 3 // day_mon1.c: # include # define MONTHS 12 int
More information《民国演义》第一册
! " #! " " $ %!! # "! " #! "!!$ %&$ %! " "!! "! $! "! " &! " # $ %! %&%! " " " " "" "! " " " " " " " " "! " " # " "! $ $ %! "# # $ #& # # # # $ # # # # # # # # $ # # # # # # # # # # %! $ """"""""""""!
More informationLinux服务器构建与运维管理
1 Linux 服务器构建与运维管理 第 2 章 :Linux 基本命令 阮晓龙 13938213680 / rxl@hactcm.edu.cn http://linux.xg.hactcm.edu.cn http://www.51xueweb.cn 河南中医药大学管理科学与工程学科 2018.3 2 提纲 目录与文件的操作 mkdir touch mv cp rm rmdir file tree
More informationuntitled
3 C++ 3.1 3.2 3.3 3.4 new delete 3.5 this 3.6 3.7 3.1 3.1 class struct union struct union C class C++ C++ 3.1 3.1 #include struct STRING { typedef char *CHARPTR; // CHARPTR s; // int strlen(
More informationLinux Ubuntu Part Linux Ubuntu Linux UNIX...19 Linux...19 Linux Linux...21 Linux GNU FSF Open So urce.
Linux Ubuntu 10.04 Part 1 17 1 Linux Ubuntu... 18 1-1 Linux... 19 UNIX...19 Linux...19 Linux...20...20 Linux...21 Linux...21 1-2 GNU FSF Open So urce...22 GNU...22 GPL...23...24 1-3 GNU/Linux V.S. Linux...25
More information《米开朗琪罗传》
! " # ! """"""""""""""""""" """"""""""""""""" """""""""""""""" $% """"""""""""" &# """"""""""""""" %# """"""""""""""" # """""""""""""""!$% """""""""""""""!&!! # $$$$$$$$$$$$$$$$$$ $$$$$$$$$!"#!%& (! "
More informationD2 17/10 食 完 早 餐 去 中 山 陵 和 明 孝 陵, 灵 谷 寺 到 景 区 的 巴 士 : 游 1 游 2 游 3 20 9 路 ( 票 价 在 1-2 元 间 ) 三 个 地 点 中 间 凭 门 票 免 费 乘 坐 景 区 小 火 车 往 来 晚 上 有 力 气 的 话 去 夫 子
D1 16/10 火 車 站 搭 藍 色 地 鐵 1 號 綫 ( 往 迈 皋 桥 站 方 向 ) 到 新 街 口 站 6 號 出 口 出 直 行 D2 17/10 食 完 早 餐 去 中 山 陵 和 明 孝 陵, 灵 谷 寺 到 景 区 的 巴 士 : 游 1 游 2 游 3 20 9 路 ( 票 价 在 1-2 元 间 ) 三 个 地 点 中 间 凭 门 票 免 费 乘 坐 景 区 小 火 车 往
More informationdownload.kaoyan.com_2006ÄêÌì½ò¹¤Òµ´óѧ¸ß¼¶ÓïÑÔ³ÌÐòÉè¼Æ£¨409£©¿¼ÑÐÊÔÌâ
考生注意 : 本试卷共七大题, 满分 150 分 考试时间为 3 小时 ; 所有答案均写在答题纸上 ( 注明题号 ), 在此答题一律无效无效 一 选择题 ( 本题共 20 小题, 每小题 2 分, 满分 40 分 ) 1 char ch 1 2 A 0
More informationepub 33-8
8 1) 2) 3) A S C I I 4 C I / O I / 8.1 8.1.1 1. ANSI C F I L E s t d i o. h typedef struct i n t _ f d ; i n t _ c l e f t ; i n t _ m o d e ; c h a r *_ n e x t ; char *_buff; /* /* /* /* /* 1 5 4 C FILE
More informationuntitled
1 5 IBM Intel 1. IBM 第 1/175 页 第 2/175 页 第 3/175 页 80 第 4/175 页 2. IBM 第 5/175 页 3. (1) 第 6/175 页 第 7/175 页 第 8/175 页 = = 第 9/175 页 = = = = = 第 10/175 页 = = = = = = = = 3. (2) 第 11/175 页 第 12/175 页 第 13/175
More informationMicrosoft PowerPoint - Class5.pptx
C++ 程式初探 V 2015 暑期 ver. 1.0.1 C++ 程式語言 大綱 1. 大量檔案讀取 & 計算 2. 指標 3. 動態記憶體 & 動態陣列 4. 標準函式庫 (STL) vector, algorithm 5. 結構與類別 2 大量檔案讀取 & 計算 若目前有一個程式將讀取純文字文件 (.txt) 中的整數, 並將該文件中的整數有小到大排序後, 儲存到另外一個新的純文字件中 假設有
More information雲端 Cloud Computing 技術指南 運算 應用 平台與架構 10/04/15 11:55:46 INFO 10/04/15 11:55:53 INFO 10/04/15 11:55:56 INFO 10/04/15 11:56:05 INFO 10/04/15 11:56:07 INFO
CHAPTER 使用 Hadoop 打造自己的雲 8 8.3 測試 Hadoop 雲端系統 4 Nodes Hadoop Map Reduce Hadoop WordCount 4 Nodes Hadoop Map/Reduce $HADOOP_HOME /home/ hadoop/hadoop-0.20.2 wordcount echo $ mkdir wordcount $ cd wordcount
More informationmannal
高 性 能 集 群 计 算 机 使 用 说 明 书 版 本 1.0.8 高 性 能 计 算 研 究 组 编 2008 年 3 月 12 日 第 1 页 共 30 页 高 性 能 集 群 计 算 机... 1 使 用 说 明 书... 1 高 性 能 计 算 集 群 使 用 说 明... 3 1. 集 群 系 统 概 述... 3 2. 使 用 方 法... 5 1. 登 录 方 法... 5 2.MPI
More information<4D6963726F736F667420576F7264202D20C8EDC9E82DCFC2CEE7CCE22D3039C9CF>
全 国 计 算 机 技 术 与 软 件 专 业 技 术 资 格 ( 水 平 考 试 2009 年 上 半 年 软 件 设 计 师 下 午 试 卷 ( 考 试 时 间 14:00~16:30 共 150 分 钟 请 按 下 述 要 求 正 确 填 写 答 题 纸 1. 在 答 题 纸 的 指 定 位 置 填 写 你 所 在 的 省 自 治 区 直 辖 市 计 划 单 列 市 的 名 称 2. 在 答
More informationMicrosoft Word - ACI chapter00-1ed.docx
前言 Excel Excel - v - 財務管理與投資分析 -Excel 建模活用範例集 5 相關 平衡 敏感 - vi - 前言 模擬 If-Then 規劃 ERP BI - vii - 財務管理與投資分析 -Excel 建模活用範例集 ERP + BI + ERP BI Excel 88 Excel 1. Excel Excel 2. Excel 3. Excel - viii - 前言 1.
More information保母人員丙級應檢資料第二部份 doc
15400903018 9 09 15 95 01 10 95 11 16 ...-3...4-9... 10...11-1...13-16...17-54... 55...56-64 1 5 3 154-90301154-9030 1 1 3 1 4 60 1 180 L 5 1 6 1 7 1 8 1 9 90 70 1 10 1 11 1 1 1 13 1 14 1 15 1 16 1 17
More informationOracle Solaris Studio makefile C C++ Fortran IDE Solaris Linux C/C++/Fortran IDE "Project Properties" IDE makefile 1.
Oracle Solaris Studio 12.2 IDE 2010 9 2 8 9 10 11 13 20 26 28 30 32 33 Oracle Solaris Studio makefile C C++ Fortran IDE Solaris Linux C/C++/Fortran IDE "Project Properties" IDE makefile 1. "File" > "New
More informationint *p int a 0x00C7 0x00C7 0x00C int I[2], *pi = &I[0]; pi++; char C[2], *pc = &C[0]; pc++; float F[2], *pf = &F[0]; pf++;
Memory & Pointer trio@seu.edu.cn 2.1 2.1.1 1 int *p int a 0x00C7 0x00C7 0x00C7 2.1.2 2 int I[2], *pi = &I[0]; pi++; char C[2], *pc = &C[0]; pc++; float F[2], *pf = &F[0]; pf++; 2.1.3 1. 2. 3. 3 int A,
More information第零章、為何要學作業系統
Bash Shell script VBird 2008/03/11 1 什 Shell Shell 2008/03/11 2 什 Shell Shell Linux shell /etc/shells chsh l 行 shell program 不 shell shell Linux Solaris bash csh 2008/03/11 3 Bash bash *? [0-9] 0~ [^abc]
More informationGenerated by Unregistered Batch DOC TO PDF Converter , please register! 浙江大学 C 程序设计及实验 试题卷 学年春季学期考试时间 : 2003 年 6 月 20 日上午 8:3
浙江大学 C 程序设计及实验 试题卷 2002-2003 学年春季学期考试时间 : 2003 年 6 月 20 日上午 8:30-10:30 注意 : 答题内容必须写在答题卷上, 写在本试题卷上无效 一. 单项选择题 ( 每题 1 分, 共 10 分 ) 1. 下列运算符中, 优先级最低的是 A.
More information