此篇文章受密碼保護,請輸入密碼後閱讀。
- 3月 20 週六 201014:55
[個人作品] 設定開機清空桌面且移動檔案到指定資料夾
- 3月 12 週五 201011:59
[C\C++] head檔案應用及類別
------------------------------------------------
student.h
------------------------------------------------
class student
{
public:
static int count;
protected:
int ID;
char Name[10];
public:
int score;
student();
student(char *pname);
~student();
virtual void dumpname()=0;
int read_id();
};
student.h
------------------------------------------------
class student
{
public:
static int count;
protected:
int ID;
char Name[10];
public:
int score;
student();
student(char *pname);
~student();
virtual void dumpname()=0;
int read_id();
};
- 3月 05 週五 201010:09
[C\C++] 宣告類別及使用方式
#include "stdafx.h"
#include "stdlib.h"
/* 靜態寫法
class ABC
{
int a;
public:
int b;
int c;
#include "stdlib.h"
/* 靜態寫法
class ABC
{
int a;
public:
int b;
int c;
- 3月 03 週三 201013:52
各種軟體所佔用的Port List(方便管理)
MSN:
1.打字聊天的port:TCP,UDP,1863
2.語音使用的port:TCP,UDP,6901
3.遠端協助的port:TCP,3389
4.檔案傳輸的 port:TCP,6891-6900
5.網路攝影機的port:5100
6.電子白板的port:7800-7825
7.不知道(懶得測試= =)IN UDP 5190
Yahoo! Messenger聊天:TCP 5000,5001
Yahoo! Messenger網路電話:UDP 5055
PPStream.exe:UDP,17788
BitTorrent:TCP,6881-6889,6969,8080
跑跑卡丁車:TCP,39311
STEAM-CS:TCP,27015-27039
GGC:TCP,7456 GGC Room:8687
玄武豪俠傳online TCP,51110
SD 鋼彈 tcp,5001;udp,13487-13612 (目前實際測試,實際範圍不明,估計無範圍)
漂流幻境 TCP,6414,6416 更新伺服器 TCP,20
魔獸世界 3724
彩虹島Online TCP,10000,10002,10021-10040 x
希望戀曲 TCP,1818,15489
爆爆王 TCP,3838
烈日風暴Online TCP,4500,4501,2008,2101
BT能力測試
http://net.cyut.edu.tw/acl/close_port.php
http://www.practicallynetworked.com/sharing/app_port_list.htm
1.打字聊天的port:TCP,UDP,1863
2.語音使用的port:TCP,UDP,6901
3.遠端協助的port:TCP,3389
4.檔案傳輸的 port:TCP,6891-6900
5.網路攝影機的port:5100
6.電子白板的port:7800-7825
7.不知道(懶得測試= =)IN UDP 5190
Yahoo! Messenger聊天:TCP 5000,5001
Yahoo! Messenger網路電話:UDP 5055
PPStream.exe:UDP,17788
BitTorrent:TCP,6881-6889,6969,8080
跑跑卡丁車:TCP,39311
STEAM-CS:TCP,27015-27039
GGC:TCP,7456 GGC Room:8687
玄武豪俠傳online TCP,51110
SD 鋼彈 tcp,5001;udp,13487-13612 (目前實際測試,實際範圍不明,估計無範圍)
漂流幻境 TCP,6414,6416 更新伺服器 TCP,20
魔獸世界 3724
彩虹島Online TCP,10000,10002,10021-10040 x
希望戀曲 TCP,1818,15489
爆爆王 TCP,3838
烈日風暴Online TCP,4500,4501,2008,2101
BT能力測試
http://net.cyut.edu.tw/acl/close_port.php
http://www.practicallynetworked.com/sharing/app_port_list.htm
- 1月 13 週三 201015:39
[C\C++] 資管一甲普班第二梯次期末考答案
#include "stdafx.h"
#include "stdlib.h"
#include "time.h"
srand(time(NULL));
int main()
{
/* 第一題 - 建立一個a.txt把裡面的數字讀出來加總印出
FILE *f;
int temp;
int sum=0;
#include "stdlib.h"
#include "time.h"
srand(time(NULL));
int main()
{
/* 第一題 - 建立一個a.txt把裡面的數字讀出來加總印出
FILE *f;
int temp;
int sum=0;
- 1月 13 週三 201000:13
[Windows Live] MSN 檔案傳輸掃毒設定

MSN部份
MSN » 工具» 選項» 檔案傳輸 » 勾選「使用下列軟體進行病毒掃描(V)」
開啟Windows Live Messenger主介面,點選選單列的「工具(T)」當中的「選項(O)...」。
選擇「檔案傳輸」分頁,並勾選「使用下列軟體進行病毒掃描(V)」,並依照所使用的防毒軟體填寫路徑。
- 1月 12 週二 201019:11
Liferay 設定調校
1.可以把新用戶登陸的同意書拿掉
在portal.properties中將
terms.of.use.required=true
改成
terms.of.use.required=false
在portal.properties中將
terms.of.use.required=true
改成
terms.of.use.required=false
- 1月 12 週二 201015:31
[C\C++] 產攜專班期末考第二梯次答案
#include "stdafx.h"
#include "stdlib.h"
#include "time.h"
int main()
{
/* 以/為對角線作翻轉
//i j = i j
//0 3 = (4-)1 (4-)4
//1 2 = (4-)2 (4-)3
// 0 1 2 3 4
char img[5][5] = {'.', '.', '.', 'X', '.',//0
'.', '.', '.', 'X', '.',//1
'.', '.', 'X', 'X', '.',//2
'.', '.', '.', '.', '.',//3
'.', '.', '.', '.', '.' };//4
printf("轉向前:\n");
for(int i=0; i<5; i++)
{
printf("\n");
for(int j=0; j<5; j++) printf("%c", img[i][j]);
}
#include "stdlib.h"
#include "time.h"
int main()
{
/* 以/為對角線作翻轉
//i j = i j
//0 3 = (4-)1 (4-)4
//1 2 = (4-)2 (4-)3
// 0 1 2 3 4
char img[5][5] = {'.', '.', '.', 'X', '.',//0
'.', '.', '.', 'X', '.',//1
'.', '.', 'X', 'X', '.',//2
'.', '.', '.', '.', '.',//3
'.', '.', '.', '.', '.' };//4
printf("轉向前:\n");
for(int i=0; i<5; i++)
{
printf("\n");
for(int j=0; j<5; j++) printf("%c", img[i][j]);
}
- 1月 04 週一 201001:01
下學期必須要做的事
下學期的目標就是...國文= ="
想不到下學期還有國文存在,真是麻煩....
努力讓它過吧= =
想不到我也有要面對國文的時候....
想不到下學期還有國文存在,真是麻煩....
努力讓它過吧= =
想不到我也有要面對國文的時候....
- 12月 30 週三 200916:29
[C\C++] 程式設計期末考練習
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
/*
// y x
char a[5][5] = {'.', 'X', 'X', 'X', '.',
'.', '.', '.', 'X', '.',
'.', 'X', '.', 'X', '.',
'.', 'X', 'X', 'X', '.',
'.', '.', '.', '.', '.',};
printf("轉向前:");
for(int y=0; y<5; y++)
{
printf("\n");
for(int x=0; x<5; x++)
{
printf("%c",a[y][x]);
}
}
for(int y=0; y<5/2; y++)
{
for(int x=0; x<5; x++)
{
a[y][x] ^= a[4-y][x];
a[4-y][x] ^= a[y][x];
a[y][x] ^= a[4-y][x];
}
}
printf("\n\n轉向後:");
for(int y=0; y<5; y++)
{
printf("\n");
for(int x=0; x<5; x++)
{
printf("%c",a[y][x]);
}
}
printf("\n\n");
int _tmain(int argc, _TCHAR* argv[])
{
/*
// y x
char a[5][5] = {'.', 'X', 'X', 'X', '.',
'.', '.', '.', 'X', '.',
'.', 'X', '.', 'X', '.',
'.', 'X', 'X', 'X', '.',
'.', '.', '.', '.', '.',};
printf("轉向前:");
for(int y=0; y<5; y++)
{
printf("\n");
for(int x=0; x<5; x++)
{
printf("%c",a[y][x]);
}
}
for(int y=0; y<5/2; y++)
{
for(int x=0; x<5; x++)
{
a[y][x] ^= a[4-y][x];
a[4-y][x] ^= a[y][x];
a[y][x] ^= a[4-y][x];
}
}
printf("\n\n轉向後:");
for(int y=0; y<5; y++)
{
printf("\n");
for(int x=0; x<5; x++)
{
printf("%c",a[y][x]);
}
}
printf("\n\n");
