日期:10/30(二)
內容:
1.
int *ptr;
ptr = &tables[0][0];
for ( i=0; i < ROWS; i++)
{
for ( j=0; j < COLS; j++)
{
printf("%d*%d=%2d ", (i+1), (j+1),*(ptr+(i*COLS)+j));
}
printf("\n");
}
2.
for ( i=0; i < ROWS; i++)
{
for ( j=0; j < COLS; j++)
{
printf("%d*%d=%2d ", (i+1), (j+1),*(*(tables + i) + j));
}
printf("\n");
}
目前分類:課業*School Work (148)
- Oct 23 Tue 2007 15:28
[課業] 資料結構 考試(二)
- Oct 23 Tue 2007 14:15
[課業] TCP/IP 作業(一)
4.7 Exercises (page 110)
雙數題(共14題)
繳交期限 2007/10/24
- Oct 21 Sun 2007 22:17
[課業] 計算機組織 - 第二次作業
- Oct 14 Sun 2007 12:13
[課業] 數位邏輯
- Oct 08 Mon 2007 23:08
[課業] 旁聽 演算法
#include <stdio.h>
#include <stdlib.h>
#include <algorithm>
struct cost
{
int pointA;
int pointB;
int cost;
};
int main()
{
int i=0,j=0,n;
int eachcost[5][5]={
{0,8,2,0,10},
{0,0,7,0,9},
{0,0,0,15,0},
{0,0,0,0,3},
{0,0,0,0,0}
};
/* 老董給的
0 1 2 3 4
---------------
0 |0 8 2 0 10
1 |0 0 7 0 9
2 |0 0 0 15 0
3 |0 0 0 0 3
4 |0 0 0 0 0 */
struct cost point[5][5];
struct cost ppprint;
ppprint=point[i][j];
printf("A,B (Cost)\n---------------\n");
for(i=0;i<5;i++)
{
for(j=0;j<5;j++)
{
if(eachcost[i][j]!=0)
{
point[i][j].pointA = i;
point[i][j].pointB = j;
point[i][j].cost = eachcost[i][j];
ppprint=point[i][j];
printf("%d,%d (%d)\n",ppprint.pointA,ppprint.pointB,ppprint.cost);
}
}
}
system("PAUSE");
}
- Oct 05 Fri 2007 13:57
[課業] 資料庫 - 2.3.2題義
- Oct 03 Wed 2007 11:47
[課業] 計概 題組一附件一
使用Excel 2003
題組一 考試資料庫檔案:D
- Oct 03 Wed 2007 09:36
[課業] 計概 題組六附件五
使用軟體 Word 2003
- Sep 27 Thu 2007 16:14
[課業] 科技英文(二)
If it rains, I do not go to school.
What
When you arrive at Pintung train station, you can call me.
Where I live, people are very nice.
Why
How
(如果) If you pass the exam, I will give you 10 dollars.
(雖然) Though you are poor, I still want to marry you.
(因為) Because you are rich, I marry you.
(除非) Unless you give me 5 million, I do not marry you.
( 一旦)Once you pass the exam, I will buy you a car.
(即使) Even if you pass the exam, you can not enter the University.
(一旦)As soon as you arrive at train station, you take a bus.
Mr. White has two sons. One is John , and the other is Tom. John is a good student, while Tom is a bad boy.
While the bus arrived at train station, thousands of students rush into the doors.
While DVD players has been popular, I still like traditional tape recorder.
Unless you got a score 95, you will be fired.
Though it rains, I go to school.
Computer hackers built a fake Google Tool Bar website to trick people into downloading a malicious program that could turn machines into “zombies,” a US Internet security firm said on Friday.
E-mails containing Internet links to the bogus website and invitations to download Google tool bar software began circulating this week, according to SurfControl of northern California. The phony website was a replica of the real one provided by Internet search giant Google.
Instead of the promised tool bar software, the site duped people into downloading a “Trojan,” malicious computer coding hidden inside a seemingly harmless offering.
The “malware” was designed to let hackers take control of infected computers via the Internet.
- Sep 26 Wed 2007 11:40
[課業] 計概 - 題組二附件五
- Sep 20 Thu 2007 15:36
[課業] 科技英文 - 文法課
- Sep 16 Sun 2007 23:04
[課業] 96學年度第一學期課表
- Aug 23 Thu 2007 23:12
[課業] 96年(上) 通識課程
通識課程名稱 |
老師 |
適用班級 |
|
(現代文學欣賞) (心理與人生) (生涯規劃) (兩岸關係與台灣前途 ) (法律與生活) (健康管理) (運動與健康) |
張秀容 劉素芬 許蔚農 王肇隆 葉碧琿 郝靜芝 謝宏昇 |
四技95級 (資科、資管、電通) 四技94級 (資科、資管) 四技93級 (資科、資管) |
|
資訊學群(資科、資管、電通) |
日間部選課須知:
- ‧學生修讀通識課程,以同學群開設之課程為原則。如因重補修等因素,須跨時段修習、或跨部修習時,應經通識教育中心主任核定後,始得辦理。
- ‧「科技與生活」資訊學群學生不得修讀,「英美短篇小說選讀」、「希臘羅馬神話導讀」語文學群學生不得修讀。
- ‧已修習過通識課程,其修習之課程名稱不得重複,否則所修學分不予承認。
- ‧每班修課人數上限依公布核算,如有特殊狀況,須於加退選辦理修讀時,每一課程增收人數以5人為限。
- ‧注意事項:
- 已修畢「史記筆下的人物」,不得修讀「史記賞析」
已修畢「健康促進」,不得修讀「健康管理」
已修畢「台灣生態之美」,不得修讀「台灣生態環境與資源保育」
已修畢「運動休閒與健康」,不得修讀「運動與健康」
已修畢「禮儀文化與生活」,不得修讀「國際禮儀」
已修畢「科技與生活」,不得修讀「科技發展與人類文明」
已修畢「生物科技概論」,不得修讀「生物技術與生命倫理」 - 凡有前述情況者,請於加退選時重新辦理選課,否則一經查獲,將依規定取消其所修課程學分。
- 已修畢「史記筆下的人物」,不得修讀「史記賞析」
- Jun 27 Wed 2007 09:16
[課業] 健康管理
![]() 法國女人不會胖 French Woman Don’t Get Fat |
麵包、乳酪、葡萄酒;
窈窕、自在、魅力風情。
法國女人說:「我從不節食,因為我不會胖。」
本書作者是一位定居美國的法國女性,對法國文化和法國女人再熟悉不過。在本書中,她要揭露法國女人保持苗條的神奇力量。說穿了,她們進餐也不忘用腦袋;離開餐桌時不會撐得半死,也不會餓肚子。法國女人一天一定吃三餐;法國女人寧願吃一片上好黑巧克力,也不要一打廉價的士力架;法國女人不吃「無脂肪」、「無糖」或是任何經過人工方法剝奪自然風味的食物;法國女人並不常秤體重,寧可以雙手、雙眼、服裝記錄自己的身材。
新鮮、多樣化、均衡、盡情享受;這不但是吃的窈窕的飲食原則,也是法國式美好生活的方針。
法國的女人,不以節食來瘦身,不暴飲暴食,六七分飽就離開餐桌。
吃高品質的食物,不吃無營養價值的垃圾食物。
盡情享受性愛帶來的愉悅,而不刻意去運動或做些什麼。
簡單隨性的生活,是可以輕易的帶出健康的身體的。
看完這本書之後,發現自己真的是吃的愈來愈飽了;從以前的每天少量的吃五餐,到現在大量的吃三餐。可能是因為我身體的變化,讓我開始警覺到,我不止愈來愈不健康,還愈來愈胖。
雖然體重都維持在五十左右,但發現,不能運動之後的我,肌肉都已經鬆弛,力量都已經消失。甚至連精神都開始萎靡,每天就像行屍走肉。想要隨性做些什麼,好好享受些什麼,似乎都提不上勁了。
我想,也許法國女人,除了隨性的生活,高品質的食物,應該還有不錯的心情吧。
- Jun 22 Fri 2007 15:09
[課業] 系統程式 - 0622
- Jun 21 Thu 2007 16:13
[課業] 我的期末考時間表
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
6/23 資料結構 |
||||||
24 | 25 通識-健康管理 |
26 數位邏輯 |
27 微積分 系統程式 |
28 統計學 人工智慧 |
29 | 30 |
人工智慧 ‧ 手寫程式+手算遞迴排列順序+ 數字遊戲完成
- Jun 21 Thu 2007 16:11
[課業] AI - 排列
- Jun 21 Thu 2007 14:29
[課業] AI - 數字遊戲(前置)
- Jun 14 Thu 2007 14:15
[課業] AI - 方陣+search (few sec)
- Jun 08 Fri 2007 12:16
[課業] AI - AlphaBetaPruning