C

Size: px
Start display at page:

Download "C"

Transcription

1 C

2 1. 2. while for 6. 2/161 C

3 7. 8. (do while) (nested loop) /161 C

4 1.

5 I 1 // summing.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 long num; 6 long sum = 0L; 7 int status; 8 printf("enter an integer to be summed"); 9 printf("(q to quit): "); 10 status = scanf("%ld", &num); 11 while (status == 1) { 5/161 C

6 II 12 sum = sum + num; 13 printf("enter next integer(q to quit): "); 14 status = scanf("%ld", &num); 15 } 16 printf("those integers sum to %ld.\n", sum); 17 return 0; 18 } 6/161 C

7 Enter an integer to be summed(q to quit): 22 Enter next integer(q to quit): 33 Enter next integer(q to quit): 44 Enter next integer(q to quit): q Those integers sum to 99. 7/161 C

8 2. while

9 while while (condition) statement while (condition) { statements } 9/161 C

10 while no go to next statement { } condition yes statements; 10/161 C

11 while while while 11/161 C

12 while while index = 1; while (index < 5) { printf("good morning!\n"); } 12/161 C

13 while while index = 1; while (index < 5) { printf("good morning!\n"); } index 12/161 C

14 while while index = 1; while (--index < 5) { printf("good morning!\n"); } 13/161 C

15 while while index = 1; while (--index < 5) { printf("good morning!\n"); } index 13/161 C

16 while while index = 1; while (++index < 5) { printf("good morning!\n"); } 14/161 C

17 while while index = 1; while (++index < 5) { printf("good morning!\n"); } 14/161 C

18 while 15/161 C

19 while 1 // when.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 int n = 5; 6 while (n < 7) { 7 printf("n = %d\n", n); 8 n++; 9 printf("now n = %d\n", n); 10 } 11 return 0; 12 } n = 5 Now n = 6 n = 6 Now n = 7 16/161 C

20 while while while 17/161 C

21 while index = 10; while (index++ < 5) printf("have a fair day or better.\n"); 18/161 C

22 while index = 10; while (index++ < 5) printf("have a fair day or better.\n"); index = 3; 18/161 C

23 while while 19/161 C

24 while 1 // while1.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 int n = 0; 6 while (n < 3) 7 printf("n = %d\n", n); 8 n++; 9 printf("that s all this" 10 " program does.\n"); 11 return 0; 12 } 20/161 C

25 while 1 // while1.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 int n = 0; 6 while (n < 3) 7 printf("n = %d\n", n); 8 n++; 9 printf("that s all this" 10 " program does.\n"); 11 return 0; 12 } n = 0 n = 0 n = 0 n = /161 C

26 while while while 21/161 C

27 while 1 // while2.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 int n = 0; 6 while (n++ < 3); 7 printf("n = %d\n", n); 8 printf("that s all this program does.\n"); 9 return 0; 10 } 22/161 C

28 while 1 // while2.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 int n = 0; 6 while (n++ < 3); 7 printf("n = %d\n", n); 8 printf("that s all this program does.\n"); 9 return 0; 10 } n = 4 That s all this program does. 22/161 C

29 while C (null statement) 23/161 C

30 while while 24/161 C

31 while while while(scanf("%d",&num)==1) ; 24/161 C

32 while while while(scanf("%d",&num)==1) ; while 24/161 C

33 3.

34 : < <= > >= ==!= 26/161 C

35 while C 27/161 C

36 while(number < 6) { printf("your number is too small.\n"); scanf("%d", &number); } while(ch!= * ) { count++; scanf("%c", &ch); } while(scanf("%f", &num) == 1) sum = sum + num; 28/161 C

37 29/161 C

38 < > 3 1 == / /161 C

39 math.h fabs 31/161 C

40 I 1 // cmpflt.c: 2 #include <stdio.h> 3 #include <math.h> 4 int main(void) 5 { 6 const double PI = ; 7 double response; 8 printf("what is the value of pi?\n"); 9 scanf("%lf", &response); 10 while (fabs(response-pi)>0.0001) { 11 printf("try again!\n"); 32/161 C

41 II 12 scanf("%lf", &response); 13 } 14 printf("close enough!\n"); 15 return 0; 16 } 33/161 C

42 What is the value of pi? 3.14 Try again! Close enough! 34/161 C

43 1 // t_and_f.c 2 #include <stdio.h> 3 int main(void) 4 { 5 int true_val, false_val; 6 true_val = (10 > 2); 7 false_val = (10 == 2); 8 printf("true = %d; false = %d\n", 9 true_val, false_val); 10 return 0; 11 } 35/161 C

44 true = 1; false = 0 35/161 C 1 // t_and_f.c 2 #include <stdio.h> 3 int main(void) 4 { 5 int true_val, false_val; 6 true_val = (10 > 2); 7 false_val = (10 == 2); 8 printf("true = %d; false = %d\n", 9 true_val, false_val); 10 return 0; 11 }

45 C /161 C

46 while (1) { }... 37/161 C

47 while (1) { }... 37/161 C

48 1 0 while 38/161 C

49 I 1 // truth.c 2 #include <stdio.h> 3 int main(void) 4 { 5 int n = 3; 6 while (n) 7 printf("%2d is true\n", 8 n--); 9 printf("%2d is false\n", n); 10 n = -3; 11 while (n) 39/161 C

50 II 12 printf("%2d is true\n", 13 n++); 14 printf("%2d is false\n", n); 15 return 0; 16 } 40/161 C

51 3 is true 2 is true 1 is true 0 is false -3 is true -2 is true -1 is true 0 is false 41/161 C

52 C 0 42/161 C

53 while (n!= 0) { }... while (n) { }... 43/161 C

54 trouble.c // trouble.c: #include <stdio.h> int main(void) { long num; long sum = 0L; 44/161 C

55 I 1 // trouble.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 long num; 6 long sum = 0L; 7 int status; 8 9 printf("enter an integer to be summed "); 10 printf("(q to quit): \n"); 11 status = scanf("%ld", &num); 45/161 C

56 II 12 while (status = 1) { 13 sum = sum + num; 14 printf("enter next integer (q to quit):\n"); 15 status = scanf("%ld", &num); 16 } 17 printf("those integers sum to %ld.\n", sum); return 0; 20 } 46/161 C

57 Enter an integer to be summed (q to quit): 1 Enter next integer (q to quit): 2 Enter next integer (q to quit): 3 Enter next integer (q to quit): q Enter next integer (q to quit): Enter next integer (q to quit): Enter next integer (q to quit):... 47/161 C

58 while status=1 status==1 status=1 1 while (status = 1) while (1) 48/161 C

59 q scanf scanf q q q scanf 49/161 C

60 == = = == i = 5 // i 5 i == 5 // i 5 == 5 = i // 5 == i // i 5 50/161 C

61 1 0 while if 51/161 C

62 _Bool / C int C99 _Bool C 52/161 C

63 _Bool I 1 // boolean.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 long num; 6 long sum = 0L; 7 _Bool input_is_good; 8 9 printf("enter an integer to be summed"); 10 printf(" (q to quit):\n"); 11 53/161 C

64 _Bool II 12 input_is_good = (scanf("%ld", &num) == 1); 13 while (input_is_good) { 14 sum = sum + num; 15 printf("enter next integer (q to quit):\n"); 16 input_is_good = (scanf("%ld", &num) == 1); 17 } 18 printf("those integers sum to %ld.\n", sum); return 0; 21 } 54/161 C

65 _Bool input_is_good = (scanf("%ld", &num) == 1); == == = while (input_is_good) 55/161 C

66 _Bool C99 stdbool.h bool _Bool true false /161 C

67 _Bool I 1 // boolean1.c: 2 #include <stdio.h> 3 #include <stdbool.h> 4 int main(void) 5 { 6 long num; 7 long sum = 0L; 8 bool input_is_good; 9 10 printf("enter an integer to be summed"); 11 printf(" (q to quit):\n"); 57/161 C

68 _Bool II 12 input_is_good = (scanf("%ld", &num) == true); 13 while (input_is_good) { 14 sum = sum + num; 15 printf("enter next integer (q to quit):\n"); 16 input_is_good = (scanf("%ld", &num) == true) ; 17 } 18 printf("those integers sum to %ld.\n", sum); return 0; 21 } 58/161 C

69 + - x > y+2 x > (y+2) x = y > 2 x = (y > 2) x_bigger = x > y x_bigger = (x > y) 59/161 C

70 : < <= > >= ==!= 60/161 C

71 c!= a == b (c!= a) == b 61/161 C

72 ( ) sizeof (type) * / % + - < <= > >= ==!= = 62/161 C

73 4.

74 64/161 C

75 1 // sweetie1.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 const int NUMBER = 2; 6 int count = 1; 7 while (count <= NUMBER) { 8 printf("hello world!\n"); 9 count++; 10 } 11 return 0; 12 } 65/161 C

76 66/161 C

77 while (count <= NUMBER){... count++; } = while (count++ <= NUMBER){ }... 67/161 C

78 5. for

79 for for (initialization; condition; increment) { } statements for (initialization; condition; increment) statement for 69/161 C

80 for 1 // sweetie2.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 const int NUMBER = 4; 6 int count; 7 8 for (count = 0; count < NUMBER; count++) 9 printf("hello world!\n"); return 0; 12 } 70/161 C

81 for Hello world! Hello world! Hello world! Hello world! 71/161 C

82 for for 1. for /161 C

83 for 1 #include <stdio.h> 2 int main(void) 3 { 4 int num; 5 printf("%3s %8s\n", "n", "n cubed"); 6 for (num = 1; num <= 4; num++) 7 printf("%3d %8d\n", num, num*num*num); 8 return 0; 9 } 73/161 C

84 for n n cubed /161 C

85 for for 1 1 // for_down.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 int secs; 6 for (secs = 4; secs > 0; secs--) 7 printf("%d seconds!\n", secs); 8 printf("ignition!\n"); 9 return 0; 10 } 75/161 C

86 for for 4 seconds! 3 seconds! 2 seconds! 1 seconds! Ignition! 76/161 C

87 for for // for_13s.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 int n; 6 for (n = 2; n < 60; n = n+13) 7 printf("%d\n", n); 8 return 0; 9 } 77/161 C

88 for for /161 C

89 for for 3 1 // for_char.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 char ch; 6 for (ch = a ; ch <= z ; ch++) 7 printf("the ASCII value of %c is %d\n", ch, ch); 8 return 0; 9 } 79/161 C

90 for for The ASCII value of a is 97 The ASCII value of b is The ASCII value of y is 121 The ASCII value of z is /161 C

91 for for 4 1 // for_cube1.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 int num; 6 printf("%3s %8s\n", "n", "n cubed"); 7 for (num = 1; num*num*num <= 64; num++) 8 printf("%3d %8d\n", num, num*num*num); 9 return 0; 10 } 81/161 C

92 for for n n cubed /161 C

93 for for 5 1 // for_geo.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 double debt; 6 for (debt = 100.0; debt <= 140; debt=debt*1.1) 7 printf("your debt is now $%.2f\n", debt); 8 return 0; 9 } 83/161 C

94 for for Your debt is now $ Your debt is now $ Your debt is now $ Your debt is now $ /161 C

95 for for 6 1 // for_wild.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 int x; 6 int y = 55; 7 for (x = 1; y <= 75; y = (++x * 5) + 50) 8 printf("%10d %10d\n", x, y); 9 return 0; 10 } 85/161 C

96 for for /161 C

97 for for 7 87/161 C

98 for for 1 // for_none.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 int ans, n; 6 ans = 2; 7 for (n = 3; ans <= 25; ) 8 ans = ans * n; 9 printf("n = %d; ans = %d.\n", n, ans); 10 return 0; 11 } 88/161 C

99 for for n = 3; ans = /161 C

100 for for for ( ; ; ) printf("i want som action\n"); 90/161 C

101 for for 8 printf 91/161 C

102 for for 1 // for_show.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 int num; 6 for (printf("keep entering numbers!\n"); 7 num!=6; ) 8 scanf("%d", &num); 9 printf("that s the one I want!\n"); 10 return 0; 11 } 92/161 C

103 for for Keep entering numbers! 2 6 That s the one I want! 93/161 C

104 for for 9 for (n = 1; n < 10000; n = n + delta) delta if delta 94/161 C

105 6.

106 += -= *= /= %= 96/161 C

107 num += 20 num -= 20 num /= 20 num *= 20 num %= 20 num = num + 20 num = num - 20 num = num / 20 num = num * 20 num = num % 20 97/161 C

108 num += 20 num -= 20 num /= 20 num *= 20 num %= 20 num = num + 20 num = num - 20 num = num / 20 num = num * 20 num = num % 20 x *= 3 * y + 12 x = x * (3 * y + 12) 97/161 C

109 = xxxxyyyyzzzz *= 3 xxxxyyyyzzzz = xxxxyyyyzzzz * 3 98/161 C

110 7.

111 for for 100/161 C

112 /161 C

113 1 // postage.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 const int FIRST_OZ = 37, NEXT_OZ = 23; 6 int ounces, cost; 7 for (ounces = 1, cost = FIRST_OZ; 8 ounces <= 16; 9 ounces++, cost += NEXT_OZ) 10 printf("%2d $%4.2f\n", ounces, cost/100.0); 11 return 0; 12 } 102/161 C

114 1 $ $ $ /161 C

115 ounces = 1, cost = FIRST_OZ; no ounces <= 16 ounces++, cost += NEXT_OZ yes printf("..."); 104/161 C

116 for for 105/161 C

117 ounces++, cost = ounces * FIRST_OZ 106/161 C

118 x = (y = 3, (z = ++y + 2) + 5); (1) y = 3; (2) y = y + 1 = 4; (3) z = (y + 2) = (4 + 2) = 6; (4) x = z + 5 = = 11; 107/161 C

119 houseprice = 249,500; houseprice = 249; 500; 108/161 C

120 houseprice = 249,500; houseprice = 249; 500; C houseprice = houseprice /161 C

121 houseprice = (249,500); 109/161 C

122 houseprice = (249,500); 500 houseprice 109/161 C

123 int m, n; printf("%d %d\n", m, n); 110/161 C

124 int m, n; printf("%d %d\n", m, n); 110/161 C

125 S = /161 C

126 I 1 // zeno.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 int count, limit; 6 double sum, x; 7 printf("enter the number of terms: "); 8 scanf("%d", &limit); 9 for (sum = 0., x = 1, count = 1; 10 count <= limit; 11 count++, x *= 2.) { 112/161 C

127 II 12 sum += 1.0/x; 13 printf("sum = %f when terms = %d.\n", 14 sum, count); 15 } 16 return 0; 17 } 113/161 C

128 Enter the number of terms you want: 10 sum = when terms = 1. sum = when terms = 2. sum = when terms = 3. sum = when terms = 4. sum = when terms = 5. sum = when terms = 6. sum = when terms = 7. sum = when terms = 8. sum = when terms = 9. sum = when terms = /161 C

129 8. (do while)

130 (do while) while for do while 116/161 C

131 (do while) I 1 // do_while.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 const int SECRET_CODE = 13; 6 int code_entered; 7 do { 8 printf("to withdraw money from ATM. \n"); 9 printf("enter the secret code number: "); 10 scanf("%d", &code_entered); 11 } while (code_entered!= SECRET_CODE); 117/161 C

132 (do while) II 12 printf("congratulations! You are permitted!\n" ); 13 return 0; 14 } 118/161 C

133 (do while) To withdraw money from ATM. Please enter the secret code number: 11 To withdraw money from ATM. Please enter the secret code number: 12 To withdraw money from ATM. Please enter the secret code number: 13 Congratulations! You are permitted! 119/161 C

134 (do while) I while 1 // entry.c: 2 #include <stdio.h> 3 int main(void) 4 { 5 const int SECRET_CODE = 13; 6 int code_entered; 7 printf("to withdraw money from ATM. \n"); 8 printf("enter the secret code number: "); 9 scanf("%d", &code_entered); 10 while (code_entered!= SECRET_CODE) { 120/161 C

135 (do while) II 11 printf("to withdraw money from ATM. \n"); 12 printf("enter the secret code number: "); 13 scanf("%d", &code_entered); 14 } 15 printf("congratulations! You are permitted!\n" ); 16 return 0; 17 } 121/161 C

136 (do while) do printf("ba la ba la!"); while no go to next statement count++ <= limit; yes 122/161 C

137 (do while) do { statements } while (condition); do statement while (condition); 123/161 C

138 (do while) do while do while 124/161 C

139 9.

140 126/161 C

141 for while for (; condition; ) while (condition) 127/161 C

142 while for initialization; while (condition) { body; update; } for (initialization; condition; update){ body; } 128/161 C

143 for while while while (scanf("%ld", &num) == 1){... } for for (count = 1; count <= 100; count++){... } 129/161 C

144 10. (nested loop)

145 (nested loop) 131/161 C

146 (nested loop) I 1 // rows1.c: 2 #include <stdio.h> 3 #define ROWS 6 4 #define CHARS 10 5 int main(void) 6 { 7 int row; 8 char ch; 9 for (row = 0; row < ROWS; row++) { 10 for (ch = A ; ch < ( A + CHARS); ch++) 11 printf("%c ", ch); 132/161 C

147 (nested loop) II 12 printf("\n"); 13 } 14 return 0; 15 } 133/161 C

148 (nested loop) A B C D E F G H I J A B C D E F G H I J A B C D E F G H I J A B C D E F G H I J A B C D E F G H I J A B C D E F G H I J 134/161 C

149 (nested loop) I 1 // row2.c: 2 #include <stdio.h> 3 #define ROWS 6 4 #define CHARS 6 5 int main(void) 6 { 7 int row; 8 char ch; 9 for (row = 0; row < ROWS; row++) { 10 for (ch = A + row; ch < ( A + CHARS); ch ++) 135/161 C

150 (nested loop) II 11 printf("%c ", ch); 12 printf("\n"); 13 } 14 return 0; 15 } 136/161 C

151 (nested loop) A B C D E F B C D E F C D E F D E F E F F 137/161 C

152 11.

153 139/161 C

154 float debts[20]; debts 20 float debts[0] debts[1]... float debts[3] = 2.; debts[7] = 1.2e+10; 140/161 C

155 scanf("%d", &debts[4]); // 5 141/161 C

156 C debts[20] = 11.0; // debts[31] = 22.22; // 142/161 C

157 int num[10]; // 10 char ch[20]; // 20 double a[40]; // 40 double 143/161 C

158 (subscript) (index) (offset) 0 144/161 C

159 for 5 145/161 C

160 I 1 // scores.c: 2 #include <stdio.h> 3 #define DAYS 5 4 #define PAR int main(void) 6 { 7 int index, steps[days]; 8 int sum = 0; 9 float average; 10 printf("enter steps of %d days:\n", DAYS); 11 for (index = 0; index < DAYS; index++) 146/161 C

161 II 12 scanf("%d", &steps[index]); 13 printf("the steps read in are as follows:\n"); 14 for (index = 0; index < DAYS; index++) 15 printf("%7d", steps[index]); 16 printf("\n"); 17 for (index = 0; index < DAYS; index++) 18 sum += steps[index]; 19 average = (float) sum / DAYS; 20 printf("sum of steps = %d, average = %.2f\n", sum, average); 21 printf("that s a handicap of %.0f.\n", average -PAR); 147/161 C

162 III 22 return 0; 23 } 148/161 C

163 Enter steps of 5 days: The steps read in are as follows: Sum of steps = 54151, average = That s a handicap of /161 C

164 12.

165 n p 151/161 C

166 n p math.h pow 151/161 C

167 pow 1 // pow.c: 2 #include <stdio.h> 3 #include <math.h> 4 int main(void) 5 { 6 printf(" 2^3 = %f\n", pow(2.0,3.0)); 7 printf(" sqrt 2 = %f\n", pow(2.0,0.5)); 8 printf(" 3^(1/4) = %f\n", pow(3.0,0.25)); 9 return 0; 10 } 152/161 C

168 pow 2^3 = sqrt 2 = ^(1/4) = /161 C

169 1 double power(double n, int p) 2 { 3 double pow = 1; 4 int i; 5 6 for (i = 1; i <= p; i++) 7 pow *= n; 8 9 return pow; 10 } 154/161 C

170 return 155/161 C

171 return return 2 * x + b; 156/161 C

172 b = power(1.2, 3); b = power(1.2, 3); printf("%f", power(1.2, 3)); 157/161 C

173 power I 1 // power.c: 2 #include <stdio.h> 3 double power(double n, int p); // function prototype 4 int main(void) 5 { 6 double x, xpow; 7 int exp; 8 printf("enter a number and the positive integer power\n"); 158/161 C

174 power II 9 printf("to which\nthe number will be raised. Enter q"); 10 printf("to quit.\n"); 11 while (scanf("%lf%d", &x, &exp) == 2) { 12 xpow = power(x, exp); // function call 13 printf("%.3g to the power %d is %.5g\n", 14 x, exp, xpow); 15 printf("enter next pair of numbers or q to quit.\n"); 16 } 17 printf("hope you enjoyed this power trip -- bye!\n"); 159/161 C

175 power III 18 return 0; 19 } 20 double power(double n, int p) // function definition 21 { 22 double pow = 1; 23 int i; 24 for (i = 1; i <= p; i++) 25 pow *= n; 26 return pow; 27 } 160/161 C

176 power Enter a number and the positive integer power to which the number will be raised. Enter qto quit to the power 12 is Enter next pair of numbers or q to quit to the power 16 is Enter next pair of numbers or q to quit. q 161/161 C

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

C/C++ - 函数

C/C++ - 函数 C/C++ Table of contents 1. 2. 3. & 4. 5. 1 2 3 # include # define SIZE 50 int main ( void ) { float list [ SIZE ]; readlist (list, SIZE ); sort (list, SIZE ); average (list, SIZE ); bargragh

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

C/C++语言 - 运算符、表达式和语句

C/C++语言 - 运算符、表达式和语句 C/C++ Table of contents 1. 2. 3. 4. C C++ 5. 6. 7. 1 i // shoe1.c: # include # define ADJUST 7. 64 # define SCALE 0. 325 int main ( void ) { double shoe, foot ; shoe = 9. 0; foot = SCALE * shoe

More information

C/C++ - 字符输入输出和字符确认

C/C++ - 字符输入输出和字符确认 C/C++ Table of contents 1. 2. getchar() putchar() 3. (Buffer) 4. 5. 6. 7. 8. 1 2 3 1 // pseudo code 2 read a character 3 while there is more input 4 increment character count 5 if a line has been read,

More information

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

C/C++语言 - 分支结构

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

Microsoft Word - 把时间当作朋友(2011第3版)3.0.b.06.doc

Microsoft 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 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

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

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 Introduction to Programming ( 數 ) Lecture 3 Spring 2005 March 4, 2005 Lecture 2 Outline 數 料 If if 狀 if 2 (Standard Output, stdout): 料. ((Standard Input, stdin): 料. 類 數 數 數 說 printf 見 數 puts 串 數 putchar

More information

( CIP) /. :, ( ) ISBN TP CIP ( 2005) : : : : * : : 174 ( A ) : : ( 023) : ( 023)

( CIP) /. :, ( ) ISBN TP CIP ( 2005) : : : : * : : 174 ( A ) : : ( 023) : ( 023) ( CIP) /. :, 2005. 2 ( ) ISBN 7-5624-3339-9.......... TP311. 1 CIP ( 2005) 011794 : : : : * : : 174 ( A ) :400030 : ( 023) 65102378 65105781 : ( 023) 65103686 65105565 : http: / /www. cqup. com. cn : fxk@cqup.

More information

C/C++ - 字符串与字符串函数

C/C++ - 字符串与字符串函数 C/C++ Table of contents 1. 2. 3. 4. 1 char C 2 char greeting [50] = " How " " are " " you?"; char greeting [50] = " How are you?"; 3 printf ("\" Ready, go!\" exclaimed John."); " Ready, go!" exclaimed

More information

3.1 num = 3 ch = 'C' 2

3.1 num = 3 ch = 'C' 2 Java 1 3.1 num = 3 ch = 'C' 2 final 3.1 final : final final double PI=3.1415926; 3 3.2 4 int 3.2 (long int) (int) (short int) (byte) short sum; // sum 5 3.2 Java int long num=32967359818l; C:\java\app3_2.java:6:

More information

CC213

CC213 : (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 information

C/C++ - 数组与指针

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

C

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

chap07.key

chap07.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

2013 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 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

Microsoft Word - 第3章.doc

Microsoft Word - 第3章.doc Java C++ Pascal C# C# if if if for while do while foreach while do while C# 3.1.1 ; 3-1 ischeck Test() While ischeck while static bool ischeck = true; public static void Test() while (ischeck) ; ischeck

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

新版 明解C言語入門編

新版 明解C言語入門編 328, 4, 110, 189, 103, 11... 318. 274 6 ; 10 ; 5? 48 & & 228! 61!= 42 ^= 66 _ 82 /= 66 /* 3 / 19 ~ 164 OR 53 OR 164 = 66 ( ) 115 ( ) 31 ^ OR 164 [] 89, 241 [] 324 + + 4, 19, 241 + + 22 ++ 67 ++ 73 += 66

More information

CC213

CC213 : (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 information

C 1

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

新・解きながら学ぶC言語

新・解きながら学ぶC言語 330!... 67!=... 42 "... 215 " "... 6, 77, 222 #define... 114, 194 #include... 145 %... 21 %... 21 %%... 21 %f... 26 %ld... 162 %lf... 26 %lu... 162 %o... 180 %p... 248 %s... 223, 224 %u... 162 %x... 180

More information

1 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

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

CC213

CC213 : (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 information

untitled

untitled Introduction to Programming ( 數 ) Lecture 5 Spring 2005 March 25, 2005 Topics Review Loop Statements For-Loop Condition-Loop Arrays: Part I Function Definition: Part I 1 Review of Loop Statements (Repetition

More information

新・明解C言語入門編『索引』

新・明解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

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

CHAPTER VC#

CHAPTER VC# 1. 2. 3. 4. CHAPTER 2-1 2-2 2-3 2-4 VC# 2-5 2-6 2-7 2-8 Visual C# 2008 2-1 Visual C# 0~100 (-32768~+32767) 2 4 VC# (Overflow) 2-1 2-2 2-1 2-1.1 2-1 1 10 10!(1 10) 2-3 Visual C# 2008 10! 32767 short( )

More information

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

C 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

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

C/C++ - 结构体、共用体、枚举体

C/C++ - 结构体、共用体、枚举体 C/C++ Table of contents 1. 2. 3. 4. 5. 6. 7. 8. 1 C C (struct) C 2 C C (struct) C 2 i // book.c: # include < stdio.h> # define MAX_ TITLE 41 # define MAX_ AUTHOR 31 struct book { char title [ MAX_ TITLE

More information

nooog

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

<5B BECBB0EDB8AEC1F25D312D34B0AD5FC3E2BCAEBCF6BEF7C0DAB7E F31702E504446>

<5B BECBB0EDB8AEC1F25D312D34B0AD5FC3E2BCAEBCF6BEF7C0DAB7E F31702E504446> : 2 = 3 4? 0 an ordered set of unambiguous, executable steps that produces a result and terminates in a finite time (computational theory) ( ) 5 6 (C-) int min, max; float degree, b; char ch, token; /,,,

More information

新・解きながら学ぶJava

新・解きながら学ぶJava 481! 41, 74!= 40, 270 " 4 % 23, 25 %% 121 %c 425 %d 121 %o 121 %x 121 & 199 && 48 ' 81, 425 ( ) 14, 17 ( ) 128 ( ) 183 * 23 */ 3, 390 ++ 79 ++ 80 += 93 + 22 + 23 + 279 + 14 + 124 + 7, 148, 16 -- 79 --

More information

untitled

untitled CHAPTER 02 2 CHAPTER 2-1 2-4 2-2 2-5 2-3 2-6 2-1 2-1-1 2-2 02 int A[3] = {10, 20, 30; A[0] 10 A[1] 20 A[2] 30 int *pa[3], A[3]; C 3 pa pa[0]pa[1]pa[2] 3 A A[0]A[1]A[2] 3 A A[0] A + i A[i] A + i &A[i]*(A

More information

CHAPTER 1

CHAPTER 1 CHAPTER 1 1-1 System Development Life Cycle; SDLC SDLC Waterfall Model Shelly 1995 1. Preliminary Investigation 2. System Analysis 3. System Design 4. System Development 5. System Implementation and Evaluation

More information

FY.DOC

FY.DOC 高 职 高 专 21 世 纪 规 划 教 材 C++ 程 序 设 计 邓 振 杰 主 编 贾 振 华 孟 庆 敏 副 主 编 人 民 邮 电 出 版 社 内 容 提 要 本 书 系 统 地 介 绍 C++ 语 言 的 基 本 概 念 基 本 语 法 和 编 程 方 法, 深 入 浅 出 地 讲 述 C++ 语 言 面 向 对 象 的 重 要 特 征 : 类 和 对 象 抽 象 封 装 继 承 等 主

More information

プログラムの設計と実現II

プログラムの設計と実現II UNIX C ls mkdir man http://www.tj.chiba-u.jp/lecture/prog2/ Ctrl+x, Ctrl+s ( )..[4]% gcc Wall o hoge hoge.c..[5]%./hoge 1 : 1 2 : 2 3 : 3 4 : 0 6..[6]% (! )..[4]% gcc Wall o hoge hoge.c..[5]%!g gcc Wall

More information

Ps22Pdf

Ps22Pdf C ( CIP) C /. :, 2001. 7 21 ISBN 7-5624 -2355-5. C........ C. TP312 CIP ( 2001 ) 034496 C * * : 7871092 1 /16 : 14. 25 : 356 20017 1 20017 1 : 1 6 000 ISBN 7-5624-2355-5 / TP311 : 21. 00 C, C,,,, C,, (

More information

Microsoft Word - 09.數學136-281.docx

Microsoft Word - 09.數學136-281.docx 136. 計 算 梯 型 面 積 (1 分 ) 請 以 JAVA 運 算 式 計 算 下 面 梯 形 面 積, 並 輸 出 面 積 結 果 梯 形 面 積 公 式 為 :( 上 底 + 下 底 ) 高 2 每 一 組 依 序 分 別 輸 入 梯 形 的 上 底 下 底 及 高 的 整 數 輸 出 梯 形 面 積 輸 入 輸 出 94 190 120 99 54 47 137. 計 算 三 角 形 面

More information

untitled

untitled 1-1 1-2 1-3 1-4 1-5 1-6 1-7 1-8 1-1-1 C int main(void){ int x,y,z; int sum=0; double avg=0.0; scanf("%d",&x) ; scanf("%d",&y) ; scanf("%d",&z) ; sum=x+y+z ; avg=sum/3.0; printf("%f\n",avg); system("pause");

More information

数据结构与算法 - Python基础

数据结构与算法 - Python基础 Python 教材及课件 课件及作业见网址 xpzhang.me 1 1. Python 2. 3. (list) (tuple) 4. (dict) (set) 5. 6. 7. 2 Python Python 3 Python 4 Python 1, 100, -8080, 0,... 0x 0-9, a-f 0 xff00, 0 xa432bf 5 1.24, 3.14, -9.80,...

More information

Microsoft Word - C-pgm-ws2010.doc

Microsoft Word - C-pgm-ws2010.doc Information and Communication Technology 資訊與通訊科技 Loops (while/for) C 廻路 姓名 : 班別 : ( ) CS C Programming #1 Functions 函數 : 1 若 n=14, 求以下表示式的值 Expressions 表示式 Value 值 Expressions 表示式 Value 值 A 20 2 * (n /

More information

Ps22Pdf

Ps22Pdf ( 98 ) C ( ) ( )158 1998 C : C C C,,, C,, : C ( ) : : (, 100084) : : : 7871092 1/ 16 :18 25 :415 : 2000 3 1 2000 3 1 : ISBN 7 302 01166 4/ T P432 : 00016000 : 22 00 ( 98 ) 20 90,,, ;,,, 1994, 1998, 160,

More information

Microsoft Word - 201110.doc

Microsoft Word - 201110.doc 2011 年 10 月 信 徒 交 通 月 刊 目 錄 一 本 期 目 錄 編 輯 室 1 二 牧 者 的 話 教 會 轉 化 -- 得 到 更 新 皮 袋 衣 立 凡 2 三 講 章 精 華 清 潔 的 心 思 -- 除 去 論 斷 講 員 衣 立 凡 / 賴 美 如 整 理 4 清 潔 的 心 思 -- 除 去 情 慾 講 員 葉 志 偉 / 林 慶 如 整 理 9 四 精 選 文 章 等 候

More information

untitled

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

2015年计算机二级(C语言)模拟试题及答案(四)

2015年计算机二级(C语言)模拟试题及答案(四) 2016 年 计 算 机 二 级 (C 语 言 ) 模 拟 试 题 及 答 案 (4) 一 填 空 题 1 C 语 言 中 基 本 的 数 据 类 型 有 : 2 C 语 言 中 普 通 整 型 变 量 的 类 型 说 明 符 为, 在 内 存 中 占 字 节, 有 符 号 普 通 整 型 的 数 据 范 围 是 3 整 数 -35 在 机 内 的 补 码 表 示 为 4 执 行 下 列 语 句 int

More information

1 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

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

Microsoft Word - CPE考生使用手冊160524.docx

Microsoft Word - CPE考生使用手冊160524.docx 大 學 程 式 能 力 檢 定 (CPE) 考 生 使 用 手 冊 2016 年 5 月 24 日 這 份 手 冊 提 供 給 參 加 CPE 檢 定 考 試 的 考 生 內 容 包 含 考 試 環 境 的 使 用, 以 及 解 題 時 所 使 用 I/O 的 基 本 知 識 1. 如 欲 報 名 參 加 CPE 考 試, 請 先 於 CPE 網 站 完 成 帳 號 註 冊, 然 後 再 報 名 該

More information

51 C 51 isp 10 C PCB C C C C KEIL

51 C 51 isp 10   C   PCB C C C C KEIL http://wwwispdowncom 51 C " + + " 51 AT89S51 In-System-Programming ISP 10 io 244 CPLD ATMEL PIC CPLD/FPGA ARM9 ISP http://wwwispdowncom/showoneproductasp?productid=15 51 C C C C C ispdown http://wwwispdowncom

More information

untitled

untitled 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-2 用 或 雇 用, 抑 或 有 無 俸 給 文 職 或 武 職, 政 官 或 事 官 均 屬 之, 其 不 以 具 備 人 資 格 為 限, 因 此 屬 於 最 廣 義 之 念 四 廣 義 念 之 依 服 24 條 之 規 定 : 本 於 受 有 俸 給 之 文 武 職, 及

( 含 要 ) 1-2 用 或 雇 用, 抑 或 有 無 俸 給 文 職 或 武 職, 政 官 或 事 官 均 屬 之, 其 不 以 具 備 人 資 格 為 限, 因 此 屬 於 最 廣 義 之 念 四 廣 義 念 之 依 服 24 條 之 規 定 : 本 於 受 有 俸 給 之 文 武 職, 及 本 學 習 重 點 研 讀 首 先 應 釐 清 不 同 規 對 與 職 人 念 的 定 義, 其 中 之 定 義 從 最 廣 義 廣 義 狹 義 到 最 狹 義 的 人, 都 會 牽 涉 到 規 適 用 上 的 不 同, 而 職 人 涵 蓋 範 圍 比 更 廣, 讀 者 應 注 意 兩 者 之 間 的 區 別 建 議 讀 者 與 考 生 於 開 始 研 讀 之 際, 利 用 本 之 內 容 確 實

More information

高中英文科教師甄試心得

高中英文科教師甄試心得 高 中 英 文 科 教 師 甄 試 心 得 英 語 學 系 碩 士 班 林 俊 呈 高 雄 市 立 高 雄 高 級 中 學 今 年 第 一 次 參 加 教 師 甄 試, 能 夠 在 尚 未 服 兵 役 前 便 考 上 高 雄 市 立 高 雄 高 級 中 學 專 任 教 師, 自 己 覺 得 很 意 外, 也 很 幸 運 考 上 後 不 久 在 與 雄 中 校 長 的 會 談 中, 校 長 的 一 句

More information

epub 33-8

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

untitled

untitled 串 串 例 : char ch= a ; char str[]= Hello ; 串 列 ch=getchar(); scanf( %c,&ch); 串 gets(str) scanf( %s,str); 8-1 數 ASCII 例 : char ch= A ; printf( %d,ch); // 65 A ascii =0x41 printf( %c,ch); // A 例 : char ch;

More information

Microsoft PowerPoint - ds-1.ppt [兼容模式]

Microsoft PowerPoint - ds-1.ppt [兼容模式] http://jwc..edu.cn/jxgl/ HomePage/Default.asp 2 说 明 总 学 时 : 72( 学 时 )= 56( 课 时 )+ 16( 实 验 ) 行 课 时 间 : 第 1 ~14 周 周 学 时 : 平 均 每 周 4 学 时 上 机 安 排 待 定 考 试 时 间 : 课 程 束 第 8 11 12 章 的 内 容 为 自 学 内 容 ; 目 录 中 标 有

More information

untitled

untitled 1 Outline 數 料 數 數 列 亂數 練 數 數 數 來 數 數 來 數 料 利 料 來 數 A-Z a-z _ () 不 數 0-9 數 不 數 SCHOOL School school 數 讀 school_name schoolname 易 不 C# my name 7_eleven B&Q new C# (1) public protected private params override

More information

五 福 三 社 P2 新 版 個 資 法 已 於 2012 年 10 月 1 號 正 式 上 路, 其 適 用 對 象 包 括 了 自 然 人 ( 也 就 是 一 般 人 ) 法 人 ( 企 業 ) 或 其 他 任 何 3 人 以 上 的 團 體 對 公 司 企 業 而 言, 如 果 洩 露 消 費

五 福 三 社 P2 新 版 個 資 法 已 於 2012 年 10 月 1 號 正 式 上 路, 其 適 用 對 象 包 括 了 自 然 人 ( 也 就 是 一 般 人 ) 法 人 ( 企 業 ) 或 其 他 任 何 3 人 以 上 的 團 體 對 公 司 企 業 而 言, 如 果 洩 露 消 費 高 雄 市 立 五 福 國 民 中 學 101 學 年 度 第 2 學 期 3 年 級 第 一 次 段 考 社 會 學 習 領 域 試 題 卷 五 福 三 社 P1 三 年 級 班 座 號 姓 名 : 代 號 :30 答 案 卡 塗 寫 注 意 事 項 1. 答 案 卡 劃 記 時, 必 頇 用 黑 色 2B 鉛 筆 塗 黑 塗 滿, 不 可 超 出 圈 外 2. 年 班 級 座 號 科 目 請 劃

More information

1012

1012 公 務 赴 大 陸 地 區 出 國 報 告 ( 赴 大 陸 出 國 類 別 赴 大 陸 出 國 類 別 : 其 他 活 動 ) 赴 大 陸 參 加 2012 年 動 向 杯 廣 州 名 將 青 少 年 足 球 錦 標 賽 服 務 機 關 : 臺 北 市 文 山 區 小 姓 名 職 稱 : 陳 顯 榮 校 長 黃 雯 琳 教 師 兼 組 長 陳 美 秀 教 師 派 赴 國 家 : 中 國 大 陸 出

More information

c_cpp

c_cpp C C++ C C++ C++ (object oriented) C C++.cpp C C++ C C++ : for (int i=0;i

More information

概述

概述 OPC Version 1.6 build 0910 KOSRDK Knight OPC Server Rapid Development Toolkits Knight Workgroup, eehoo Technology 2002-9 OPC 1...4 2 API...5 2.1...5 2.2...5 2.2.1 KOS_Init...5 2.2.2 KOS_InitB...5 2.2.3

More information

國立中山大學學位論文典藏.PDF

國立中山大學學位論文典藏.PDF 立 論 李 年 易 亂 領 不 數 量 更 更 易 了 靈 不 不 便 易 離 來 歷 烈 不 了 理 論 年 論 歷 說 論 度 離 度 歷 論 良 略 良 異 異 離 連 論 歷 不 不 異 論 行 行 度 切 履 來 行 論 更 論 論 離 異 度 歷 度 論 良 良 復 略 履 略 I 離 不 論 論 參 II 論 論 易 亂 領 不 數 量 更 更 易 了 靈 不 不 便 易 離 來 歷

More information

WWW PHP Comments Literals Identifiers Keywords Variables Constants Data Types Operators & Expressions 2

WWW PHP Comments Literals Identifiers Keywords Variables Constants Data Types Operators & Expressions 2 WWW PHP 2003 1 Comments Literals Identifiers Keywords Variables Constants Data Types Operators & Expressions 2 Comments PHP Shell Style: # C++ Style: // C Style: /* */ $value = $p * exp($r * $t); # $value

More information

Microsoft PowerPoint - OPVB1基本VB.ppt

Microsoft PowerPoint - OPVB1基本VB.ppt 大 綱 0.VB 能 做 什 麼? CH1 VB 基 本 認 識 1.VB 歷 史 與 版 本 2.VB 環 境 簡 介 3. 即 時 運 算 視 窗 1 0.VB 能 做 什 麼? Visual Basic =>VB=> 程 式 設 計 語 言 => 設 計 程 式 設 計 你 想 要 的 功 能 的 程 式 自 動 化 資 料 庫 計 算 模 擬 遊 戲 網 路 監 控 實 驗 輔 助 自 動

More information

ebook39-5

ebook39-5 5 3 last-in-first-out, LIFO 3-1 L i n e a r L i s t 3-8 C h a i n 3 3. 8. 3 C + + 5.1 [ ] s t a c k t o p b o t t o m 5-1a 5-1a E D 5-1b 5-1b E E 5-1a 5-1b 5-1c E t o p D t o p D C C B B B t o p A b o

More information

Microsoft Word - 把时间当作朋友(2011第3版)3.0.b.07.doc

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

Lorem ipsum dolor sit amet, consectetuer adipiscing elit

Lorem ipsum dolor sit amet, consectetuer adipiscing elit English for Study in Australia 留 学 澳 洲 英 语 讲 座 Lesson 3: Make yourself at home 第 三 课 : 宾 至 如 归 L1 Male: 各 位 朋 友 好, 欢 迎 您 收 听 留 学 澳 洲 英 语 讲 座 节 目, 我 是 澳 大 利 亚 澳 洲 广 播 电 台 的 节 目 主 持 人 陈 昊 L1 Female: 各 位

More information

1050502公務員懲戒法實務及新制

1050502公務員懲戒法實務及新制 公 務 員 懲 戒 實 務 及 新 制 智 慧 財 產 法 院 法 官 林 欣 蓉 修 法 沿 革 74 年 5 月 3 日 修 正 89 年 10 月 19 日 函 送 立 法 院 審 議 91 年 3 月 15 日 函 送 立 法 院 審 議 91 年 8 月 29 日 函 送 立 法 院 審 議 94 年 11 月 23 日 函 送 立 法 院 審 議 99 年 2 月 9 日 函 送 立 法

More information

大小通吃-糖尿病

大小通吃-糖尿病 壹 前 言 貳 正 文 ㆒ 認 識 糖 尿 病 1. 病 因 2. 症 狀 3. 高 危 險 群 4. 類 型 5. 併 發 症 ㆓ 糖 尿 病 的 治 療 1. 飲 食 方 面 2. 運 動 方 面 3. 藥 物 方 面 4. 糖 尿 病 的 良 好 控 制 ㆔ 糖 尿 病 的 併 發 症 1. 急 性 併 發 症 2. 慢 性 併 發 症 ㆕ 糖 尿 病 的 問 題 Q1 是 否 禁 菸 禁 酒?

More information

1065 # [1994]21 [1995]1 (2014)19 ... 1... 3... 4... 6... 7... 10... 12... 17... 21... 37... 40... 50... 56... 57... 59... 62... 71... 72 ... 83... 86... 87... 89... 93... 94... 95... 96 [1992]45 009079

More information

98825 (Project Sunshine) Chi_TC_.indb

98825 (Project Sunshine) Chi_TC_.indb 60 19501992 2005 2008 12 15 97.5%0.6%0.6%0.6%0.6% 2008 12 16 2008 2010 6 2011 7 160 2012 1 2013 5 2014 6 3 5 4 1 E 2016 13 1 2016 161 300,000,000 2010 36,000,000 200,000,000 536,000,000 2011 64,320,000

More information

(Microsoft Word - outline for Genesis 9\243\2721\243\25529.doc)

(Microsoft Word - outline for Genesis 9\243\2721\243\25529.doc) 創 世 紀 9:1-29; 神 的 憐 憫 及 與 挪 亞 立 約 韋 江 傳 道 暖 身 問 題 : 當 別 人 無 意 識 地 踩 到 你 的 腳, 確 一 句 話 不 說 就 走 開 的 時 候, 你 會 怎 麼 樣 做? 注 意 : 大 綱 中 問 題 較 多, 但 顯 然 不 是 所 有 的 都 需 要 討 論 到, 比 較 多 的 是 供 你 們 參 考 所 以, 每 一 個 帶 領 者

More information

穨Shuk-final.PDF

穨Shuk-final.PDF : : ( ( ( ( ( D : 20 25 -, -, - :, D ( ( ((,! ( ( ( 15 20 ( - - - ( ( ( 1985 33 ( ( ( 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 - - - - - ( ( ( - --- ( - ( - - - - ( ( ( ( ( ( ( ( 1985 35 1. ( ( ( ( ( 2.

More information

2

2 1 2 3 4 4 5 5 6 6 I 17 27 31 63 II 79 87 91 99 103 107 113 119 III 129 135 137 141 145 153 163 165 169 175 177 181 7 187 193 195 199 201 7 8 9 9 10 11 11 12 12 I 13 13 14 14 I.... 17... 27 15... 31...

More information

招行2002年半年度报告全文.PDF

招行2002年半年度报告全文.PDF 2 2 12 13 13 16 19 19 1 2 7088 518040 14,444 2,744-370 -1,955-864 14,889 3 4 8% 16.38 14.01 10.26 11.39 11.93 11.61 4% 10.73 9.69 4.23 10.89 11.11 11.30 15% 6.43 7.59 8.15 10.64 9.28 11.44 75% 55.67 57.74

More information

Microsoft Word - 75413980_4

Microsoft Word - 75413980_4 中 国 资 产 管 理 业 翘 首 等 待 修 订 后 的 证 券 投 资 基 金 法 及 配 套 法 规 的 施 行 2012 年 12 月 28 日, 业 内 期 盼 已 久 的 中 华 人 民 共 和 国 证 券 投 资 基 金 法 ( 新 基 金 法 ) 修 订 通 过, 自 2013 年 6 月 1 日 起 施 行 为 了 支 持 新 基 金 法 的 实 施, 有 关 监 管 部 门, 主

More information

郑州大学(下).doc

郑州大学(下).doc ...1...10 ( )...12...14...18...20...24...26...30...33...37...39...42...45...48...52...53 I ...57...63...65...74...82...84...85...87...91...95...97... 101... 103... 106... 109... 115... 124... 126... 128

More information

厨房小知识(六)

厨房小知识(六) ...1...1...2...2...4...6...7...8...9...10...13...14...17...18...20...20...21...23...24...24...26...27...28 I II...31...32...32...35...36...39...40...41...41...42...43...44...47?...49...50...52...53...54...54...60...67...68...69

More information

广 东 纺 织 职 业 技 术 学 院 发 展 党 员 公 示 制 实 施 办 法...189 关 于 推 荐 优 秀 团 员 作 为 党 的 发 展 对 象 工 作 的 意 见...192 后 勤 管 理 工 作 广 东 纺 织 职 业 技 术 学 院 新 引 进 教 职 工 周 转 房 管 理

广 东 纺 织 职 业 技 术 学 院 发 展 党 员 公 示 制 实 施 办 法...189 关 于 推 荐 优 秀 团 员 作 为 党 的 发 展 对 象 工 作 的 意 见...192 后 勤 管 理 工 作 广 东 纺 织 职 业 技 术 学 院 新 引 进 教 职 工 周 转 房 管 理 目 党 政 工 作 广 东 纺 织 职 业 技 术 学 院 党 委 理 论 中 心 组 学 习 制 度...1 广 东 纺 织 职 业 技 术 学 院 教 职 工 政 治 理 论 学 习 制 度...4 广 东 纺 织 职 业 技 术 学 院 党 风 廉 政 建 设 责 任 制 实 施 办 法 ( 试 行 )...6 广 东 纺 织 职 业 技 术 学 院 党 风 廉 政 建 设 暂 行 规 定...18

More information

2005 2005 12

2005  2005 12 2005 2005 http://www.nsfc.gov.cn 2005 12 2005...1 1-1 2005...1 1-2 2005...2 1-3 2005...5 1-4 2005...6 1-5 2005...7 1-6 2005...8 1-7 2005...9 1-8 2005...10 1-9 2005 200...11 1-10 2005...21 1-11 2005...61

More information

游戏攻略大全(五十).doc

游戏攻略大全(五十).doc I...1...2...18...32...37...39...40...40...41...41...41...42...42...42...43...44...44...44...45...45...45...46 ...46...46...47...47...47...47...48...48...48...49...51...72...80...82...85...86...91...94...97

More information

金融英语证书考试大纲

金融英语证书考试大纲 金 融 英 语 证 书 考 试 大 纲 第 一 部 分 考 试 说 明 一 考 试 目 的 金 融 英 语 证 书 考 试 是 国 家 级 行 业 性 专 业 外 语 水 平 考 试, 旨 在 通 过 统 一 的 标 准 化 考 试 程 序 和 测 试 标 准, 为 中 国 金 融 业 提 供 金 融 英 语 水 平 行 业 参 考 标 准, 测 试 并 认 定 应 试 人 员 的 金 融 英 语

More information

I...1...2...3...4...6...7...8...10... 11...12...13...14...16...17...18...20...21...22...23...25...26...27...28...30 II...31...33...34...35...37...38...39...41...43...44...45...47...49...50...52...54...55...56...57...59...60...61...62...63...64...65

More information

健康知识(二)

健康知识(二) I...1...6...7...8...10...12...14...15...17...19...22...26...28...29...30...31...32...34...36...37...38...39...40 II...41...42...43...46 7...47...48...49...53...55...56...57...58...60...66...67...68...69...69...70...73...73...74...75...78...79...79

More information

中南财经大学(二).doc

中南财经大学(二).doc 2004...1...3 2004...5...9 2004...10 2004...13...16...18...19...23...35...39...42...44...46...50 I ...53...54 ( )...57...58...62... 121... 124... 149 ( )... 151... 152... 154... 157... 158... 159... 163...

More information

广西大学(一).doc

广西大学(一).doc .....1... 11...14...15...16...17...19...19...22 ( )...30 ( )...32...34...39...44 ( )...63...64...67...69 I ...75...77...79...81...87 ( )...88...92...93...95...98... 100... 104... 114... 116... 124 ( )...

More information

根据学校教学工作安排,2011年9月19日正式开课,也是我校迁址蓬莱的第一学期开学

根据学校教学工作安排,2011年9月19日正式开课,也是我校迁址蓬莱的第一学期开学 济 南 大 学 泉 城 学 院 2014 届 毕 业 生 就 业 质 量 年 度 报 告 前 言 济 南 大 学 泉 城 学 院 是 国 家 教 育 部 和 山 东 省 人 民 政 府 正 式 批 准 成 立, 实 施 本 科 层 次 学 历 教 育 的 综 合 性 高 等 院 校 自 2005 年 建 校 以 来, 学 院 依 托 济 南 大 学 雄 厚 的 办 学 实 力, 坚 持 以 学 生

More information

山东大学(一).doc

山东大学(一).doc ...1...8...23...27...30 ( )...33...36...40...44...46...52 ( )...53...54...54 I ...55...56...58...59...60 ( )...63...75...88...92...99 ( )... 110... 118... 138... 142... 148 ( )... 152 2004 2006... 156

More information

主 编 : 杨 林 副 主 编 : 张 新 民 邹 兰 曹 纯 纯 周 秋 婷 李 雅 清 黄 囡 囡 评 审 顾 问 : 杨 林 张 新 民 评 审 : 张 新 民 邹 兰 曹 纯 纯 周 秋 婷 李 雅 清 黄 囡 囡 李 忆 萍 徐 如 雪 文 字 编 辑 : 曹 纯 纯 邹 兰 李 雅 清

主 编 : 杨 林 副 主 编 : 张 新 民 邹 兰 曹 纯 纯 周 秋 婷 李 雅 清 黄 囡 囡 评 审 顾 问 : 杨 林 张 新 民 评 审 : 张 新 民 邹 兰 曹 纯 纯 周 秋 婷 李 雅 清 黄 囡 囡 李 忆 萍 徐 如 雪 文 字 编 辑 : 曹 纯 纯 邹 兰 李 雅 清 主 编 : 杨 林 副 主 编 : 张 新 民 邹 兰 曹 纯 纯 周 秋 婷 李 雅 清 黄 囡 囡 评 审 顾 问 : 杨 林 张 新 民 评 审 : 张 新 民 邹 兰 曹 纯 纯 周 秋 婷 李 雅 清 黄 囡 囡 李 忆 萍 徐 如 雪 文 字 编 辑 : 曹 纯 纯 邹 兰 李 雅 清 周 秋 婷 李 忆 萍 徐 如 雪 何 雯 技 术 编 辑 : 李 雅 清 曹 纯 纯 薛 莞 陈 敏

More information

最新文物管理执法全书(十四).doc

最新文物管理执法全书(十四).doc I...1...3...5...8...12...15...19...23...25...28...30...34...37...39...43...47...50...52...55...59...60...63...67...70 ...75...79...82...83...85...90...92...95...99... 103... 106... 113... 117... 119...

More information

园林常识(二).doc

园林常识(二).doc I...1...1...1...2...32...33...36...38...41...42...43...43...43...44...45...45...46...48...49...56...62...65 ...68...77...84...98... 103 :... 104... 105 :... 107 :... 109... 110...111... 126... 127... 130

More information

前 言 二 一 六 年 四 月 四 日, 兒 童 節, 誕 生 了 一 件 美 事 : 中 國 作 家 曹 文 軒 在 意 大 利 博 洛 尼 亞 國 際 童 書 展 榮 獲 國 際 安 徒 生 文 學 獎, 是 該 獎 創 設 六 十 年 來, 第 一 位 摘 桂 的 中 國 作 家, 意 義 重

前 言 二 一 六 年 四 月 四 日, 兒 童 節, 誕 生 了 一 件 美 事 : 中 國 作 家 曹 文 軒 在 意 大 利 博 洛 尼 亞 國 際 童 書 展 榮 獲 國 際 安 徒 生 文 學 獎, 是 該 獎 創 設 六 十 年 來, 第 一 位 摘 桂 的 中 國 作 家, 意 義 重 目 錄 前 言 i 童 年 1 關 於 肥 肉 的 歷 史 記 憶 ( 節 錄 ) 7 疲 民 15 水 邊 的 文 字 屋 23 海 邊 的 屋 29 紅 葫 蘆 37 追 隨 永 恆 ( 草 房 子 代 跋 一 ) 53 因 水 而 生 草 房 子 寫 作 札 記 59 書 香 人 家 73 朗 讀 的 意 義 79 知 無 涯, 書 為 馬 85 讀 是 誰 91 給 孩 子 講 課 文 學

More information

湖 南 科 技 大 学

湖 南 科 技 大 学 I 目 录 第 一 章 2015 年 度 培 训 概 况 1 1 基 本 情 况 1 1.1 项 目 申 报 情 况 1 1.2 项 目 实 施 情 况 3 1.3 学 员 来 源 情 况 5 1.4 项 目 经 费 情 况 7 2 组 织 管 理 9 2.1 学 校 设 立 培 训 项 目 实 施 工 作 领 导 小 组 9 2.2 施 训 学 院 设 立 项 目 实 施 办 公 室 9 3 培

More information

上海外国语大学(二).doc

上海外国语大学(二).doc ...1...3...4...9...10 ( )... 11...12...16...31...33...34...50...56...58...60...62 I II...63...65...68...74...75...75...76...76...78...87...92...96 ( )...96 ( )...97 ( )...98 ( )...99... 100 ( )... 101

More information

2009 陳 敦 德

2009 陳 敦 德 前 言 : 發 掘 香 港 歷 史 獨 有 的 寶 藏 2010 2009 陳 敦 德 目 錄 前 言 發 掘 香 港 歷 史 獨 有 的 寶 藏 / i 第 一 章 香 港 設 立 八 路 軍 辦 事 處, 青 年 廖 承 志 為 主 任 /1 一 毛 澤 東 認 為, 八 路 軍 駐 香 港 辦 事 處, 是 個 獨 特 的 辦 事 處 /10 二 毛 澤 東 親 自 點 將, 為 小 廖 舉

More information