untitled

Size: px
Start display at page:

Download "untitled"

Transcription

1 Introduction to Programming ( 數 ) Lecture 3 Spring 2005 March 4, 2005 Lecture 2 Outline 數 料 If if 狀 if 2

2 (Standard Output, stdout): 料. ((Standard Input, stdin): 料. 類 數 數 數 說 printf 見 數 puts 串 數 putchar 數 putch 數 scanf 見 數 gets 串讀 數 getchar 讀 數 getche 讀 數 getch 讀 數 stdio.h stdio.h stdio.h conio.h stdio.h stdio.h stdio.h conio.h conio.h 3 (printf()) printf() 數,: printf( 串, 參數列 ) 料. 參數列 : 料 數, 數 例 : num%d printf( I have %d dogs.,num); printf( This is number two: %d.,2); printf( %d,1/3); 0 num=3, I have 3 dogs. This is number two: 2. 4

3 料 printf() 數 %c %s %d %e %f %g %u %x %o %ld %lf %lu %lx %lo %le %lg %lle 料 串 數 數 ( 數 e) 數 ( 數 ) 數 (%f%e) 數 六 數 數 數 數 數 數 數 數 數 六 數 數 數 精 度 ( 數 ) 精 度 ( 精 ) 精 度 數 5 printf( ) 數 欄 度 欄 度 C, 料 行 數, % 列 度. 例 : 數 ch= $, 度 5,, 令 : printf( %5c,ch); : 數 ch= $, 度 5,, 令 : printf( %-5c,ch); : $ $ 數 數 year=44 printf( Years is %2d.,year); printf( Years is %4d.,year); Y e a r s i s 4 4. Y e a r s i s

4 printf( ) 數 欄 度 cont.1 數 料 數, 數 例 : f= printf( %7.4f,f); : 數 料 例 : f=1.2345e+05 printf( %12.6e,f); : e 數 6 1 數 5 數 7 printf( ) 數 Carriage control character (Escape Sequences), 來. 例 : printf( Hi\n ); /* Hi 行 */ printf( pi character=\xe3 ); /* π () */ printf( Wake up!\a\n ); 8

5 Escape Sequence Characters Character Escape Sequence " \" ' \'? \? \ \\ BEL \a BS \b FF \f NL \n CR \r HT \t VT \v 9 printf()scanf() printf() 數 %c scanf() 數 %c 料 %s %d %s %d 串 數 %e %f ( 數 ) %f %e ( 數 ) %g ( 精 ) %u %x %o %u %x %o 數 六 數 數 %ld %lf %lu %lf %le 數 數 數 數 數 數 %lx %lo %D %U 數 六 數 數 數 %le %X 精 度 ( 數 ) %lg %lle %O %lle 精 度 ( 精 ) 精 度 數 10

6 不 數 數 %f %e 數 來 數 數 11 行 5 行, 數 數 數 7 行, %f 數 number, 數 數 9 行 %e, 數 number 12

7 #include <stdio.h> #include <stdlib.h> int main(void) int num; num=2; printf( Value=%d, Address=%d\n, num, &num); system("pause"); return 0; 13 scanf() 數 料, 數, : scanf( 串, 參數列 ). (scanf( )) 參數列 : 料 數. 數 = & 數 例 : int x,y; scanf( %d %d, &x, &y); 兩, 數 ( 行 Tab ),Enter,, 行. 14

8 A Simple Example #include <stdio.h> #include <stdlib.h> int main() int x, y; printf( x y Enter: "); scanf("%d %d", &x, &y); printf("x= %d, y= %d", x, y); system("pause"); return 0; 15 數 料 數 getch( ) getche( ) getchar( ) Enter 不 不 # include 不 不 conio.h conio.h stdio.h 數 數 =getch(); 數 =getche(); 數 =getchar(); 16

9 練 2-1 #include<stdio.h> #include<conio.h> #include <stdlib.h> int main(void) char ch; printf( Type any character: ); ch=getche(); printf( \nthe character you typed was %c.,ch); system("pause"); return 0; 17 練 2-2 #include<stdio.h> #include <stdlib.h> int main(void) char ch; printf( Type any character: ); ch=getchar(); printf( \nthe character you typed was %c.\n, ch); system("pause"); return 0; 18

10 數 數 putchar(), 數 數 (stdio.h) 數 putchar( 數 ); putch(), 數 數 (conio.h) 數 putch( 數 ); 19 /* 數 */ #include <stdio.h> #include <stdlib.h> #include<conio.h> 練 3 int main(void) char ch1,ch2,ch3; printf("please enter two characters\n==>"); ch1=getche(); ch2=getche(); printf(" \nthe first character is\n==>"); putchar(ch1); printf("\nthe second character is\n==>"); putchar(ch2); printf( \nplease input a character\n==> ); ch3=getchar(); printf("\nthe third character is\n==>"); putchar(ch3); printf("\n\n\n"); system("pause"); return 0; 20

11 ---- 例 1 / * */ #include <stdio.h> #include <stdlib.h> 串 int main() int A=7,B=3; /* 數 */ /* 行 */ printf("a=7,b=3\n"); printf("a == B is %d\n", A==B); printf("a > B is %d\n", A>B); printf("a < B is %d\n", A<B); printf("a >= B is %d\n", A>=B); printf("a <= B is %d\n", A<=B); printf("a!= B is %d\n\n\n", A!=B); system("pause"); return 0; 例 1 行 : A=7,B=3 A == B is 0 A > B is 1 A < B is 0 A >= B is 1 A <= B is 0 A!= B is 1 C 林 0false0true 22

12 ---- 例 2 /* */ #include <stdio.h> #include <stdlib.h> int main() int Radius; /* 數 數 */ float PI, Area; /* 兩 數 數 */ PI=3.1415; /* 率 */ printf( Please input the radius: "); scanf( %d, &Radius); Area= PI* Radius* Radius; /* */ printf( The area of radius %d is %f\n\n\n", Radius, Area); return 0; /* */ 例 2 行 : Please input the radius: 34 The area of radius 34 is :

13 ---- 例 3 /* 兩 */ #include <stdio.h> #include <stdlib.h> 串 int main() char ch1, ch2; /* 兩 數 */ /* 兩 */ printf( Please input 2 characters: ); scanf( %c %c, &ch1, &ch2); /* ASCII */ printf( \ndisplay input characters \n ); printf( ch1=%c, %d\n, ch1, ch1); printf( ch2=%c, %d\n, ch2, ch2); return 0; /* */ 例 3 行 : Please input 2 characters: a b Display input characters ch1=a,97 ch2=b,98 26

14 (++, --) ++ 數 1, -- 數 1, x==1, ++x; x12 --x; x10 不 x++; ++x; 不 : 不 見 例 例 4 /* ++ii++ */ #include <stdio.h> #include <stdlib.h> int main() int i=0; /* 數 數 i0 */ /*,1 */ printf( i=%d\n,,i); /* i=0 */ printf( i++=%d\n,,i++); /*,1 */ printf( after i=%d\n\n,i); /* 1 */ i=0; /* i */ /* 1*/ printf( i=%d\n,,i); /* i=0 */ printf( ++i=%d\n,,++i); /* 1 */ printf( after i=%d\n\n,i); /* 1 */ return 0; /* */ 28

15 ---- 例 4 行 : i=0 i++=0 after i=1 i=0 ++i=1 after i= 例 5 /* 數 */ #include<stdio.h> #include <stdlib.h> int main(void) int i ; I = 418; printf( /%d/\n,i); printf( /%2d/\n,i); printf( /%5d/\n,i); printf( /%-5d/\n,i); return 0; 30

16 ---- 例 5 行 : /418/ /418/ / 418/ /418 / 31 數 數 數 float f; int i =10; f = i; // 10.0 C 數 數 數 不 float f = 2.5; int i; i = f; // 2 數 trunc round 數 (<math.h>) float f = 2.5; int i; i = trunc(f); C(type cast) () float f = 2.5; int i; i = (int) f; // 2 數 (mixed mode arithmetic expression) 3 * * 1.5 i + f i 數 f Printf 串 32

17 ---- 例 6 /* 料 */ #include<stdio.h> void main(void) float x = 5.3; int y = 9; int z = 4; char ch1= d ; //ASCII code of d is 100 x = y/z; // 數 printf( The result1 is %6.2f\n,x); x = (float) y / (float) z; printf( The result2 is %6.2f\n,x); printf( (1).The ch1 is %c\n,ch1); ch1+=5; // ch1 = ch1 + 5; printf( (2).The ch1 is %d\n,ch1); 例 6 行 : The result1 is 2.00 The result2 is 2.25 (1).The ch1 is d (2).The ch1 is 105 ASCII code of i is

18 35 行 數 i 10 %d %f 數 數 i 數 %d 數 %f, 行, 數 數 i 10 數 , 不 36

19 37 行, 數 %f 數, 數 數 數, 說 數 38

20 料 類 度 sizeof () 料 C 度, 料, 度 39 /* 料 度 */ #include<stdio.h> ---- 例 7 void main(void) printf( 1.The size of char is %d\n",sizeof(char)); printf( 2.The size of int is %d\n",sizeof(int)); printf( 3.The size of long int is %d\n",sizeof(long int)); printf( 4.The size of float is %d\n",sizeof(float)); printf( 5.The size of double is %d\n",sizeof(double)); 40

21 ---- 例 7 行 : 1.The size of char is 1 2.The size of int is 2 3.The size of long int is 4 4.The size of float is 4 5.The size of double is 8 41 /* */ #include<stdio.h> void main(void) int a,b,z; ---- 例 8 printf( Input 2 number to get the larger number.\n\n ); printf( First number: ); scanf( %d,&a); printf( Second number: ); scanf( %d,&b); z = a - b printf("their difference is %d\n\n\n",z); 42

22 ---- 例 8 行 : Input 2 number to get their difference. First number: 17 Second number:22 The larger number is (if statement)

23 if, 都 1 行, 行 行, 行 流, 論 行, 流 都 Sequential flow 45 if, 不, 不, 不 論, 便 不 路, 流 46

24 if 利 狀 來 行,, 說,, 47 if (if statement) if if ( expr ) statement1; if 流 expr true Statement 1 48

25 49 行 ASCII, 數 65~90, 97~122 來 50

26 if (if-else statements) if-else if-else 流 if (expr) Statement1; else Statement2; false Statement2 expr true Statement2 51 if ---- 例 例 1 兩數 #include<stdio.h> void main() int a, b; printf("please input two numbers : "); scanf("%d%d", &a,&b); if (a>b) printf("%d is bigger than %d\n", a,b); else printf("%d is less than %d\n", a,b); 兩 數 數 /*a>b*/ /*a<=b*/ 52

27 if ---- 例 例 2 數 #include<stdio.h> main() int a, b; printf("please input a number for a : "); scanf("%d", &a); if (a>0) printf("%d is a positive number\n", a); b=a; else printf("%d is not a positive number\n", a); b=-a; printf("the absolute value of a is %d\n", b); 兩 數 數 數 數 a 53 if ---- 例 例 流 數 數 數 數 number 流 說 rem =number%2 理 / 流 number 數 False rem =1? True number 數 54

28 if ---- 例 例 #include<stdio.h> void main() int number, rem; printf("\1: Please input a number for testing ==> "); scanf("%d",&number); rem = number % 2; if ( rem == 1 ) printf("\2: %d is odd \n",number); else printf("\2: %d is even \n",number); % 數 55 if ---- 例 例 4 Obtain a "yes" or "no" answer from the user. #include <stdio.h> void main(void) char ch; int ans; printf("type yes or no?(y/n)"); ch = getchar(); if ((ch == Y') (ch =='y')) ans = 1; else if((ch =='N') (ch =='n')) ans = 0; printf("the value of answer=%d\n",ans); 數 ch 數 數 讀 數 ch 56

29 邏 例 說 && a && b a,b 兩, 1(),0(). a b a,b 兩 1(),a,b 都 0().!!a a,0(), a,1(). 57 邏 a==2, b==6, : (! ( a >= b ) ) && ( a == b ) 1 && !() &&() () 58

30 if ---- 例 例 流 里 車 里 不 里 數 True i<=1500? False diff =i cost =70 diff 500 數? False True cost =70+(diff/500)*50 cost =70+(diff/500+1)*50 cost 59 if---- 例 例 里 不 #include <stdio.h> int main(void) int i,diff,cost; printf(" 里 ():"); scanf("%d",&i); if (i<=1500) /* 里 數 1500*/ cost=70; else ~ 60

31 diff = i-1500; /* 里 數 1500 里 率 */ if (diff%500==0) /* 里 數不 率 */ cost=70+(diff/500)*5; else cost=70+((diff/500)+1)*5; printf(" 車 : %d ",cost); printf("\n"); return 0; 61 if (else if statements) else if if ( expr1) statement1; else if (expr2) statement2; else if (expr3) statement3; else statement4; staement5; else if 流 Statement1 Statement2 Statement3 true expr1 false true expr2 false true expr3 false Statement4 62

32 例 Nested if if (nested if) ---- 例 兩 數 ch,ans 讀 數 ch 63 例 Nested if if (nested if) ---- 例 #include<stdio.h> void main() int a, b; printf(" 數 a : "); scanf("%d", &a); if (a<10) printf(" %d 10 數 \n", a); else if (a>10) printf(" %d 10 數 \n", a); else printf(" %d 10 數 \n", a); 64

33 if (nested if) ---- 例 例 3 To determine what kind of character it is. void main() char ch; printf("\1: Please input a character ==> "); ch = getche() printf("\n"); if (( ch >= 'A' ) && ( ch <= 'Z' )) printf("\2: It is an upper case character.\n"); else if (( ch >= 'a' ) && ( ch <= 'z' )) printf("\2: It is a lower case character.\n"); else if (( ch >= '0' ) && ( ch <= '9' )) printf("\2: It is a digit.\n"); else printf("\2: It is a special character.\n"); printf("\1: Please input a character ==> "); 65 例 3 行 : if (nested if) ---- 例 : Please input a character ==> g : It is a lower case character. : Please input a character ==> G : It is an upper case character. : Please input a character ==> 8 : It is a digit. : Please input a character ==> % : It is a special character. : Please input a character ==> 66

34 if (nested if) ---- 練 1 練 列 類 00~59E 60~69D 70~79C 80~89B 90~100A #include<stdio.h> void main() int score; printf("\1:please input the score of a student ==> "); scanf("%d",&score); if ( score >= 90 ) printf("\1:the score is in A grade.\n"); else if ( (score >= 80) && (score<=89) ) printf("\1:the score is in B grade.\n"); ~ 67 if (nested if) ----( 練 1 )cont. 1 else if ( (score >= 70) && (score<=79)) printf("\1:the score is in C grade.\n"); else if ( (score >= 60) && (score<=69)) printf("\1:the score is in D grade.\n"); else printf("\1:the score is in E grade.\n"); 68

C C

C 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 information

untitled

untitled 說 參 例 邏 邏 1. 說 2. 數 數 3. 8 4. 理念 李 龍老 立 1. 理 料 2. 理 料 3. 數 料 4. 流 邏 念 5. 良 6. 讀 行 行 7. 行 例 來 邏 1. 說 說 識 量 2. 說 理 類 3. 數 數 念 4. 令 5. 良 6. 流 邏 念 7. 說 邏 理 力 1. 2. 3. 4. 5. 列 念 1 參 1. ( Visual Basic 例 ) (1)

More information

台灣經濟新報資料庫

台灣經濟新報資料庫 料 易 北 路 樓 02-8768-1088 [email protected] 錄 1 料 1 列 2 3 欄 5 5 六 6 TEJ Smart Wizard 易 9 列 9 料 9 1. 10 2. 11 3. 料 11 4. 12 5. Excel 12 參 TEJ Math Pal 易 13? 13 說 14 1-1TEJ 料 說 15 1-2 料 說 16 1-3 行 料 說 19

More information

C

C C 2017 3 14 1. 2. 3. 4. 2/95 C 1. 3/95 C I 1 // talkback.c: 2 #include 3 #include 4 #define DENSITY 62.4 5 int main(void) 6 { 7 float weight, volume; 8 int size; 9 unsigned long letters;

More information

第五章 鄉鎮圖書館閱讀推廣活動之分析

第五章  鄉鎮圖書館閱讀推廣活動之分析 93 94 1 10 3 4 5-1 5-1 1 ( ) 94/1/10 1 94/1/10 2 94/3/4 4 () 94/3/4 94/3/4 94/3/4 94/3/5 94/3/5 3 94/3/4 94/3/4 94/3/4 1 94/1/26 2 94/1/26 94/1/26 94/1/26 2 94/1/26 94/1/26 1 94/2/22 1 94/2/22 2 94/2/22

More information

untitled

untitled 女 錄 老 不 易 例 來 年 老 老 數 裡 不 易 裡 裡 老 臨 力 來 裡 老 度 不 易 流 露 來 年 年 來 來 說 來 老 說 老 來 說 年 來 不 來 說 不 老 說 年 老 行 什 了 參 參 老 老 不 說 說 落 落 都 念 來 什 練 來 兩 老 參 了 不 了 參 識 料 都 了 老 來 什 什 什 都 不 說 說 老 裡 說 什 理 來 說 錄 邏 了 不 說 都 不

More information

untitled

untitled 1 Outline 料 類 說 Tang, Shih-Hsuan 2006/07/26 ~ 2006/09/02 六 PM 7:00 ~ 9:30 聯 [email protected] www.csie.ntu.edu.tw/~r93057/aspnet134 度 C# 力 度 C# Web SQL 料 DataGrid DataList 參 ASP.NET 1.0 C# 例 ASP.NET 立

More information

untitled

untitled 逸 老 年 1 錄 錄...I 錄...II... III... 1... 1... 1... 2... 4... 4... 4... 6... 7... 7... 7... 8... 9... 9...10 流... 11... 13...13...15...16...17... 21...21...21 度...27 論... 29...29 來...29 I 參 料... 30 料...30

More information

untitled

untitled 龍 立 龍 年 行 料 念 料 不 料 不 來 不 留 連 濾 行 行 宅 福 利 福 福 利 理 利 理 類 理 欄 參 量 立 年 年 略 數 年 數 年 行 年 參 年 1 龍 參 不 年 福 理 領 兩 良 流 理 年 度 行 六 路 福 參 福 林 行 落 禮 來 參 理 福 見 年 度 聯 六 參 立 福 六 年 度 年 度 2 龍 行 理 料 利 福 行 參 旅 行 北 令 年 度 理

More information

正確的姿勢 — 疾病疼痛不上身

正確的姿勢 — 疾病疼痛不上身 了. 北 理 臨 理 不 老 易 李 了 神 什 神 神 神 神 療 神 復 什 神 神 神 神 神 不 不 了 狀 了 不 來 了 不 流 來 狀 都 神 神 神 神 神 來 流 不 異 狀 神 神 不 不 兩 都 神 神 神 神 見 狀 神 不 神 (Bell s s palsy) 冷 不 說 (Herpes simplex) 論 若 狀 神 狀 狀 神 狀 不 了 不 不 不 不 亮

More information

untitled

untitled 度 都 說 了 便 理 來 理 立 便 理 了 領 立 了 行 度 度 例 例 例 錄 不 類 立 領 行 領 令 立 領 行 領 領 行 領 立 領 1 http://client.can.com.tw/mnd/ccp/org164.php 例 年 露 例 六 年 來 例 例 來 年 立 84 2 連 連 立 連 連 連 立 領 連 行 領 連 療 立 領 立 行 行 行 領 立 了 牢 聯 了

More information

C/C++ 语言 - 循环

C/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 information

untitled

untitled 拾 - 1567 - 六 年 行 年 行 年 行 年 行 年 六 行 令 六 年 六 六 行 六 參 六 令 年 行 令 年 六 行 六 六 令 年 行 六 令 年 行 令 年 六 六 行 六 令 年 六 行 令 年 六 行 六 令 六 例 列 年 年 數 數 療 年 女 理 理 數 年 不 年 年 行 不 留 流 流 流 流 流 流 流 例 六 女 年 數 年 數 例 例 列 參 參 - 1568

More information

四湖鄉志纂修

四湖鄉志纂修 度 例 年 1 留 流 年 不 了 若 不 更 ( 金 2004 年 12 ) 料 錄 來 力 林 歷 錄 料 錄 年 來 了 精 來 更 年 略 拓 葉 兩 來 兩 年 年 陸 來 拓 更 隆 年 葉 年 年 金 見 了 力 了 數 立 隸 諸 羅 林 隆 年 陸 拓 崙 拓 年 拓 年 林 寮 寮 陸 落 北 北 落 數 六 林 2 年 年 崙 鹿 寮 庒 寮 年 年 年 復 北 北 年 年 立

More information

untitled

untitled 理 力 理 類 CNHA93-01 力 理 (1) 歷 歷 力 (1) (1) 行 93 年 1 1 93 年 12 31 行 理 理 94 年 2 28 摘要 歷 歷 度 歷 歷 行 歷 年 歷 歷 度 歷 度 歷 歷 行 歷 歷 歷 歷 精 歷 歷 歷 歷 異 立 例 關鍵詞 歷 歷 歷 錄 歷 歷 理 浪 力 年來 歷 療 不 力 歷 立 療 歷 年 立 讀 歷 歷 臨 行 理 療 來 來 療

More information

untitled

untitled : 類 : : 猪 : 利 猪, 刺 力. 料 : 不.,,,,, : 說, 裡 猪, 都,, 來, 省. 年 :4~6 :,,,1, 說,2 來 說.3. 落, 行, 力. - 1 - --- (1) 說 --- : 9106002 林 : : 練 說 力 料 : : 說 數 :1~40 : 年 : 4-6 - 2 - ( ) 9106003 林 < > 力 < > 勵 < > 精 料 1 不 4

More information

C++ 程式設計

C++ 程式設計 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 information

untitled

untitled 北 都 北 北 北 六 年 年 都 北 北 北 類 令 都 北 里 北 丹 北 路 館 路 北 北 六 都 都 更 北 北 宅 路 路 路 拓 路 北 路 1 2 3 丹 年 粒 粒 狀 粒 葉 量 粒 館 路 兩 丹 不 易 暴 流 不 易 北 流 年 流 見 來 良 類 都 綠 見 綠 藍 金 鷺 鷺 北 異 林 4 丹 葉 林 了 林 蘭 茶 琉 呂 車 丹 金 林 度 崙 兩 北 例 度 老

More information

C/C++程序设计 - 字符串与格式化输入/输出

C/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 information

untitled

untitled 論 論 行 念 讀 行 讀 便 了 理 行 理 來 令 1 了 切 累 欄 切 更 力 了 年 念 理 論 來 若 1 律 年 力 金 臨 2 類 流 度 更 陵 念 更 說 六 不 精 神 不 3 說 力 度 說 力 神 見 亮 歷 論 2 論 泥 麗 來 流 露 不 度 見 流 見 裡 更 切 理 力 度 更 亂 例 兩 不 句 了 力 度 5 靈 力 量 歷 論 歷 論 3 亂 亂 句 論 若

More information

untitled

untitled 行 年 度 不 年 度 落 降 年 度 年 度 列 行 老 行 路 更 年 度 行 類 年 度 類 行 館 量 年 行 不 金 行 年 度 不 數 率 讀 不 數 不 數 年 度 數 數 數 數 年 年 度 料 料 兩 36 理 年 度 領 六 年 度 路 理 理 老 理 年 度 年 年 理 行 利 理 列 行 曆 行 列 若 不 聯 若 不 錄 錄 理 參 益 力 行 不 不 老 錄 便 論 行

More information

untitled

untitled 立 念 理 理 勞 料 年 狀 不 狀 歷 了 狀 量 練 度 數 練 量 了 說 練 度 年 度 量 度 若 練 度 練 年 料 練 度 量 度 度 1 狀 率 歷 參 練 理 度 度 來 切 數 數 度 練 數 量 度 良 練 練 練 量 練 令 參 車 雷 參 律 練 行 力 力 力 練 練 律 練 度 率 理 練 練 2 勵 練 練 練 參 不 了 樂 理 量 量 數 練 度 率 量 度 惡

More information

C/C++语言 - C/C++数据

C/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

untitled

untitled 六 年 力 料 11 狀 錄 狀 () 若 () 狀 錄 (A) (B) (C) (D) 1. 狀 狀 (1) 見 見 (C)(2) 參 不 連 1. 狀 老 更 2. 不 識 ()(D 六 年 力 料 12 立 葉 羽 行 金 列 (A) 狀 來 (B) 女 來 (C) 亮 來 (D) 來 1.(1) 見 見 見 不 率 數 n=sina sinb 兩 不 兩 見 兩 離 見 兩 離 不 狀 來

More information

大陸黨報集團化發展之研究

大陸黨報集團化發展之研究 陸 -- 例 論 陸 2003 年 7 陸 陸 兩 留 行 律 切 例 論 行 陸 更 度 陸 陸 臨 來 更 陸 歷 陸 了 行 力 力 了 行 行 識 利 1 不 益 不 例 行 量 500 2 說 不 行 度 列 行 量 滑 行 2004 年 4 利 來 不 利 律 北 年 1 陸 連 串 更 了 力 1949 年 立 了 參 聯 立 度 領 了 利 不 類 來 淪 落 歷 說 略 烈 都 識

More information

untitled

untitled 100 年 度 年 理 年 理 970 蓮 路 880 http://www.tccn.edu.tw 038572158366 (99 年 1110100 年 度 年 理 ) // http://tad.tccn.edu.tw/front/bin/ptlist.phtml?category=47 1 100 年 度 年 理 列 年 立 列 力 度 力 度 立 立 年 異 行 歷 良 錄 不 行 錄

More information

untitled

untitled 念 識 練 邏 度 力 (American Association for the Advancement of Science, AAAS) (Science A Process Approach) 類 數 量 理 料 拓 料 料 律 理論 了 類 量 數 理 料 說 Science A Process Approach 1 SAPA SAPA 類 數 量 理 2 ( ) 行 切 神 不 不 領

More information

untitled

untitled 什 ~ 什 ~ 異 塞 裂 療 ~ 行 刺 療 刺 刺 不 什 若 刺 來 說 不 數 ~ 刺 量 亂 刺 刺 異 狀 復 什 ~ 例 率 不 了 不 不 ~ 刺 利 不 例 不 良 狀 異 970429 ~ 量 流 降 金 鍊 若 臨 970429 量 狀 了 臨 良 便 便 便 狀 臨 量 漏 不 不 不 流 臨 利 行 量 不 粒 流 若 臨 970429 度 流 念 女 都 度 了 度 罹

More information

C/C++ - 文件IO

C/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 information

untitled

untitled 錄 100 年 5 31 2 ~5 30 樓 禮 錄 ( 列 ) 行 北 ( 列 )() 六 () () ( ) ( 料 ) () 參 見 () () ( 17:30) 100 年 6 7 () 立 女 來 參 福 來 了 切 福 輻 福 度 都 福 不 異 兩 年 羽 度 行 年 陸 度 年 4 行 年 10 量 兩 參 了 福 行 了 行 更 力 福 11 56 立 來 行 立 行 精 力 /

More information

untitled

untitled 參 例 邏 說 邏 () 1. VB 2005 Express 說 2. 1 3. 2 4 4. 3 理念 說 識 量 李 龍老 立 1. 理 料 2. 理 料 3. 數 料 4. 流 邏 念 5. 良 6. 讀 行 行 7. 行 例 來 邏 1. 說 2. 說 理 類 3. 良 4. 流 邏 念 5. 說 邏 理 力 令 1. 2. 3. 4. 5. 1 參 料 念 1. ( Visual Basic

More information

untitled

untitled 不 料 料 例 : ( 料 ) 串 度 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 information

untitled

untitled 樂 例 理 年 林 靖 數 狀 1 參 靈 狀 行 度 行 度 裡 行 行 度 靈 狀 行 利 不 論 來 不 更 樂 度 勞 年 2 類 壘 年 參 參 年 精 力 量 參 老 年 參 陸 參 類 旅 館 旅 館 來 旅 樂 都 飯 樂 樂 樂 樂 樂 3 樂 年 立 樂 年 樂 樂 律 聯 聯 年 聯 來 聯 來 來 飯 年 樂 拉 樂 飯 樂 來 來 飯 樂 樂 樂 行 樂 車 滑 浪 滑 行

More information

untitled

untitled 拉 來 理 力 龍 撚 連 狀 狀 撚 亮 都 都 不 料 狀 索 料 度 不 度 年 狀 練 狀 78 狀 數 不 量 不 兩 更 力 精 練 撚 料 不 不 不 精 練 精 練 留 類 硫 類 硫 硫 理 理 理 理 理 不 理 數 理 理 例 來 理 79 利 蘭 理 理 理 來 簾 六 類 數 精 女 女 便 禮 滑 濾 車 輪 簾 旅 行 流 例 列 流 例 流 精 精 80 狀 羅 拉

More information