遊戲內容介紹 : 全部都由四個方塊組成 開始時, 一個隨機的方塊會從區域上方開始緩慢繼續落下 落下期間, 玩家可以以 90 度為單位旋轉方塊, 以格子為單位左右移動方塊, 或讓方塊加速落下 當方塊下落到區域最下方或著落到其他方塊上無法再向下移動時, 就會固定在該處, 然後新的方塊出現在區域上方開始落

Size: px
Start display at page:

Download "遊戲內容介紹 : 全部都由四個方塊組成 開始時, 一個隨機的方塊會從區域上方開始緩慢繼續落下 落下期間, 玩家可以以 90 度為單位旋轉方塊, 以格子為單位左右移動方塊, 或讓方塊加速落下 當方塊下落到區域最下方或著落到其他方塊上無法再向下移動時, 就會固定在該處, 然後新的方塊出現在區域上方開始落"

Transcription

1 Windows Phone 期末作業 遊戲名稱 : 俄羅斯方塊 班級 : 資工二乙 姓名 : 林益正 學號 :4A1G0003 第 1 頁

2 遊戲內容介紹 : 全部都由四個方塊組成 開始時, 一個隨機的方塊會從區域上方開始緩慢繼續落下 落下期間, 玩家可以以 90 度為單位旋轉方塊, 以格子為單位左右移動方塊, 或讓方塊加速落下 當方塊下落到區域最下方或著落到其他方塊上無法再向下移動時, 就會固定在該處, 然後新的方塊出現在區域上方開始落下 當區域中某一橫行的格子全部由方塊填滿時, 則該列會被消除, 目標是消除掉 50 行, 在達到目標之前, 速度會隨著消除掉的行數慢慢加快, 一直到玩家爆掉為止 第 2 頁

3 遊戲操作介紹 : 點擊下圖的紅色區域, 方塊就會旋轉 90 度 點擊下圖的紫色區域, 方塊就會往左邊移動, 按著不放就一直移動 點擊下圖的綠色區域, 方塊就會往右邊移動, 按著不放就一直移動 點擊下圖的紫色區域, 方塊就會快速往下移動, 按著不放就一直往下, 如果連按兩下就直接到最下方 最後, 點擊遊戲中 HOLD 下方的方塊, 第一次會將現有的方塊存起, 並馬上放入一個新的方塊, 第二次之後都是將現有方塊跟 HOLD 裡的方塊互換 第 3 頁

4 遊戲測試圖 : 第 4 頁

5 程式碼部分 : using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Media; using Microsoft.Xna.Framework.Input.Touch; namespace Game3 /// <summary> /// This is the main type for your game. /// </summary> public enum PlaceStates CAN_PLACE, BLOCKED, OFFSCREEN public class Game1 : Game GraphicsDeviceManager graphics; SpriteBatch spritebatch; int sp = 1; int line,addline = 0; int speed = 1500; const int BackWidth = 10; const int BackHeight = 15; const int PieceSize = 45; string TouchCheck=""; int th; List<int[,]> pieces; Texture2D pixel; Texture2D pic; Texture2D back; Texture2D over; Texture2D win; Texture2D nextblock; SoundEffect water; 第 5 頁

6 SpriteFont font1; enum GS Menu, Play, Over, Quit, Win ; GS gamestate = GS.Menu; int[,] Back; int[,] MakePiece; int[,] MakePiece2; int[,] ShiftPiece; int[,] SwapPiece; int colr2, shift = 0; Vector2 BackLocation; int KeyboardElapsedTime = 0; KeyboardState pkey = Keyboard.GetState(); Random rand = new Random(System.Environment.TickCount); Vector2 MakePieceLocation; int StepTime = 300; // 以毫秒為單位做更新 int ElapsedTime = 0; // 從上次更新開始, 總共花的時間 int DownTime = 0; // 防止連續下降 Color[] TetronimoColors = Color.Transparent, /* 0 */ Color.Orange, /* 1 */ Color.Blue, /* 2 */ Color.Red, /* 3 */ Color.LightSkyBlue, /* 4 */ Color.Yellow, /* 5 */ Color.Magenta, /* 6 */ Color.LimeGreen /* 7 */ ; Rectangle MakePosition = new Rectangle(0, 0, 0, 0); public Game1() graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; graphics.preferredbackbufferheight = 720; graphics.preferredbackbufferwidth = 840; graphics.applychanges(); Window.Title = "Tetris"; Back = new int[backwidth, BackHeight]; ElapsedTime = 0; /// <summary> /// Allows the game to perform any initialization it needs to before starting to run. /// This is where it can query for any required services and load any non-graphic 第 6 頁

7 /// related content. Calling base.initialize will enumerate through any components /// and initialize them as well. /// </summary> protected override void Initialize() // TODO: Add your initialization logic here pieces = new List<int[,]>(); /* I Piece */ pieces.add(new int[4, 4] /* L Piece */ pieces.add(new int[3, 3] /* O Piece */ pieces.add(new int[2, 2] /* S Piece */ pieces.add(new int[3, 3] ); ); ); ); 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 0, 0, 1, 1, 1, 1, 0, 0, 0 1, 1, 1, 1 0, 1, 1, 1, 1, 0, 0, 0, 0 /* T Piece */ pieces.add(new int[3, 3] /* Z Piece */ pieces.add(new int[3, 3] ); ); 0, 1, 0, 1, 1, 1, 0, 0, 0 1, 1, 0, 0, 1, 1, 0, 0, 0 第 7 頁

8 /* J Piece */ pieces.add(new int[3, 3] 0, 1, 0, 0, 1, 0, 1, 1, 0 ); BackLocation = new Vector2(50, 49); base.initialize(); /// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() // Create a new SpriteBatch, which can be used to draw textures. spritebatch = new SpriteBatch(GraphicsDevice); // TODO: use this.content to load your game content here water = Content.Load<SoundEffect>("water"); font1 = Content.Load<SpriteFont>("font1"); over = Content.Load<Texture2D>("over"); win = Content.Load<Texture2D>("win"); back = Content.Load<Texture2D>("back"); pic = Content.Load<Texture2D>("firstpic"); pixel = Content.Load<Texture2D>("pixel"); nextblock = Content.Load<Texture2D>("nextblock"); /// <summary> /// UnloadContent will be called once per game and is the place to unload /// game-specific content. /// </summary> protected override void UnloadContent() // TODO: Unload any non ContentManager content here /// <summary> /// Allows the game to run logic such as updating the world, /// checking for collisions, gathering input, and playing audio. /// </summary> /// <param name="gametime">provides a snapshot of timing values.</param> protected override void Update(GameTime gametime) // TODO: Add your update logic here // Allows the game to exit KeyboardState ckey = Keyboard.GetState(); 第 8 頁

9 TouchCollection touches = TouchPanel.GetState(); if ((ckey.iskeydown(keys.escape) == true) && (pkey.iskeydown(keys.escape) == false)) this.exit(); switch (gamestate) case GS.Menu: ////////////////////////////////////////////////////////////////////// if (touches.count > 0) TouchLocation touch = touches.first(); if (touch.position.x >= 600 && touch.position.x <= 650 && touch.position.y >= 450 && touch.position.y <= 470) // 判斷按下 Start gamestate = GS.Play; for (int x = 0; x < BackWidth; x++) for (int y = 0; y < BackHeight; y++) Back[x, y] = 0; line = 50; SpawnPiece(); SpawnPiece2(); else if (touch.position.x >= 600 && touch.position.x <= 650 && touch.position.y >= 500 && touch.position.y <= 530) // 判斷按下 Quit gamestate = GS.Quit; /////////////////////// case GS.Play: // TODO: Add your update logic here if (line < 0 line == 0) gamestate = GS.Win; ElapsedTime += gametime.elapsedgametime.milliseconds; KeyboardElapsedTime += gametime.elapsedgametime.milliseconds; 第 9 頁

10 DownTime += gametime.elapsedgametime.milliseconds; int dim = MakePiece.GetLength(0); if (KeyboardElapsedTime > 50) if (touches.count > 0) TouchLocation touch = touches.first(); TouchCheck = touch.state.tostring(); if (touch.position.x >= 45 && touch.position.x <= 495 && touch.position.y >= 235 && touch.position.y <= 455 && KeyboardElapsedTime > 80) // 判斷點擊範圍在中間, 左右移動 // 創造一個新的座標包含我們要移動的方塊 Vector2 NewMakePieceLocation = MakePieceLocation + new Vector2((touch.Position.X >= 45 && touch.position.x <= 270 && touch.position.y >= 235 && touch.position.y <= 455)? -1 : 1, 0); // 檢查我們是否有放置方塊 PlaceStates ps = CanPlace(Back, MakePiece, (int)newmakepiecelocation.x, (int)newmakepiecelocation.y); if (ps == PlaceStates.CAN_PLACE) MakePieceLocation = NewMakePieceLocation; KeyboardElapsedTime = 0; //************ 按鍵設定 **************** else if (touch.position.x >= 45 && touch.position.x <= 495 && touch.position.y >= 15 && touch.position.y <= 235 && TouchCheck == "Pressed") // 判斷點擊範圍在上方, 旋轉方塊 int[,] newmakepiece = Rotate(MakePiece, true); PlaceStates ps = CanPlace(Back, newmakepiece, (int)makepiecelocation.x, (int)makepiecelocation.y); if (ps == PlaceStates.CAN_PLACE) MakePiece = newmakepiece; KeyboardElapsedTime = 0; else if (th == 2) // 判斷在下方區域連按兩下, 快速下降 sp = 15; for (int i = 0; i < sp; i++) 第 10 頁

11 Vector2(0, 1); // 新增一個新的座標, 使下一個方塊移動 Vector2 NewMakePieceLocation = MakePieceLocation + new PlaceStates ps = CanPlace(Back, MakePiece, (int)newmakepiecelocation.x, (int)newmakepiecelocation.y); if (ps!= PlaceStates.CAN_PLACE) // 方塊到底 Place(Back, MakePiece, (int)makepiecelocation.x, (int)makepiecelocation.y); SpawnPiece(); SpawnPiece2(); water.play(); // 檢查有沒有堵住, 有的話結束遊戲 ps = CanPlace(Back, MakePiece, (int)makepiecelocation.x, (int)makepiecelocation.y); if (ps == PlaceStates.BLOCKED) // 遊戲結束 gamestate = GS.Over; if (sp == 15) i = 15; sp = 1; else // 移動方塊, 並更新現有的位置座標 MakePieceLocation = NewMakePieceLocation; ElapsedTime = 0; th = 0; else if (touch.position.x <= 720 && touch.position.x >= 565 && touch.position.y <= 500 && touch.position.y >= 350 && TouchCheck == "Pressed") // 判斷按下 HOLD if (shift == 0) SwapPiece = ShiftPiece; ShiftPiece = MakePiece; MakePiece = SwapPiece; SpawnPiece(); 第 11 頁

12 SpawnPiece2(); shift++; else SwapPiece = ShiftPiece; ShiftPiece = MakePiece; MakePiece = SwapPiece; for (int i = 0; i < sp; i++) // 新增一個新的座標, 使下一個方塊移動 Vector2 NewMakePieceLocation = new Vector2(4, 0); PlaceStates ps = CanPlace(Back, MakePiece, (int)newmakepiecelocation.x, (int)newmakepiecelocation.y); if (ps!= PlaceStates.CAN_PLACE) SpawnPiece(); SpawnPiece2(); // 檢查有沒有堵住, 有的話結束遊戲 ps = CanPlace(Back, MakePiece, (int)makepiecelocation.x, (int)makepiecelocation.y); if (ps == PlaceStates.BLOCKED) // 遊戲結束 gamestate = GS.Over; if (sp == 20) i = 20; sp = 1; else // 移動方塊, 並更新現有的位置座標 MakePieceLocation = NewMakePieceLocation; ElapsedTime = 0; else if (KeyboardElapsedTime > 200) if (touch.position.x >= 45 && touch.position.x <= 495 && touch.position.y >= 455 && touch.position.y <= 675 && DownTime >=400) 第 12 頁

13 ElapsedTime = StepTime + speed; KeyboardElapsedTime = 160; if (TouchCheck == "Pressed") th += 1; if (KeyboardElapsedTime > 500) th = 0; Vector2(0, 1); if (ElapsedTime > StepTime + speed) for (int i = 0; i < sp; i++) // 新增一個新的座標, 使下一個方塊移動 Vector2 NewMakePieceLocation = MakePieceLocation + new PlaceStates ps = CanPlace(Back, MakePiece, (int)newmakepiecelocation.x, (int)newmakepiecelocation.y); if (ps!= PlaceStates.CAN_PLACE) // 方塊到底 Place(Back, MakePiece, (int)makepiecelocation.x, (int)makepiecelocation.y); DownTime = 0; SpawnPiece(); SpawnPiece2(); water.play(); (int)makepiecelocation.y); // 檢查有沒有堵住, 有的話結束遊戲 ps = CanPlace(Back, MakePiece, (int)makepiecelocation.x, if (ps == PlaceStates.BLOCKED) // 遊戲結束 gamestate = GS.Over; if (sp == 20) i = 20; sp = 1; 第 13 頁

14 else // 移動方塊, 並更新現有的位置座標 MakePieceLocation = NewMakePieceLocation; ElapsedTime = 0; false)) case GS.Over: if ((ckey.iskeydown(keys.enter) == true) && (pkey.iskeydown(keys.enter) == gamestate = GS.Menu; true)) case GS.Win: if ((ckey.iskeyup(keys.enter) == true) && (pkey.iskeydown(keys.enter) == gamestate = GS.Menu; case GS.Quit: this.exit(); pkey = ckey; base.update(gametime); public PlaceStates CanPlace(int[,] Back, int[,] piece, int x, int y) // 左右狀態判斷 int dim = piece.getlength(0); for (int px = 0; px < dim; px++) for (int py = 0; py < dim; py++) int Posx = x + px; int Posy = y + py; 第 14 頁

15 if (piece[px, py]!= 0) // 如果位置太右或太左, 就撞到邊框 if (Posx < 0 Posx >= BackWidth) return PlaceStates.OFFSCREEN; // 如果被堵塞, 不能放, 就返回到 BLOCKED 的狀態 if (Posy >= BackHeight Back[Posx, Posy]!= 0) return PlaceStates.BLOCKED; return PlaceStates.CAN_PLACE; public void Place(int[,] Back, int[,] piece, int x, int y) int dim = piece.getlength(0); for (int px = 0; px < dim; px++) for (int py = 0; py < dim; py++) int Posx = x + px; int Posy = y + py; if (piece[px, py]!= 0) Back[Posx, Posy] = piece[px, py]; RemoveLines(Back); public void SpawnPiece() int colr = rand.next(0, pieces.count); colr = colr2; MakePiece = (int[,])pieces[colr].clone(); int dim = MakePiece.GetLength(0); for (int x = 0; x < dim; x++) for (int y = 0; y < dim; y++) MakePiece[x, y] *= (colr + 1); 第 15 頁

16 MakePieceLocation = new Vector2(4, 0); // 暫存 MakePosition = new Rectangle(4, 0, dim, dim); ; // 矩形位置 public void SpawnPiece2() colr2 = rand.next(0, pieces.count); MakePiece2 = (int[,])pieces[colr2].clone(); int dim2 = MakePiece2.GetLength(0); for (int x = 0; x < dim2; x++) for (int y = 0; y < dim2; y++) MakePiece2[x, y] *= (colr2 + 1); public int[,] Rotate(int[,] piece, bool left) int dim = piece.getlength(0); int[,] npiece = new int[dim, dim]; for (int i = 0; i < dim; i++) for (int j = 0; j < dim; j++) if (left) npiece[j, i] = piece[i, dim j]; else npiece[j, i] = piece[dim i, j]; return npiece; // 檢查是否有一行完成的線, 如果有就刪除他們 public void RemoveLines(int[,] Back) for (int y = BackHeight - 1; y >= 0; y--) bool iscomplete = true; for (int x = 0; x < BackWidth; x++) if (Back[x, y] == 0) iscomplete = false; if (iscomplete) // 將 y-1 行移到 y 行 for (int yc = y; yc > 0; yc--) 第 16 頁

17 for (int x = 0; x < 10; x++) Back[x, yc] = Back[x, yc - 1]; y++; line--; addline++; if (addline < 10) // 加快方塊掉落速度 speed -= addline * 5; else if (addline < 20) speed -= addline * 3; else if (addline < 30) speed -= addline * 2; else if (addline > 31) speed -= addline; /// <summary> /// This is called when the game should draw itself. /// </summary> /// <param name="gametime">provides a snapshot of timing values.</param> protected override void Draw(GameTime gametime) GraphicsDevice.Clear(Color.CornflowerBlue); // Compute camera matrices. switch (gamestate) case GS.Menu: spritebatch.begin(); spritebatch.draw(pic, new Vector2(0, 0), Color.White); spritebatch.drawstring(font1, "Start", new Vector2(600, 450), Color.Yellow, 0, new Vector2(0, 0), 2f, SpriteEffects.None, 0.5f); spritebatch.drawstring(font1, "Quit", new Vector2(600, 500), Color.Yellow, 0, new Vector2(0, 0), 2f, SpriteEffects.None, 0.5f); spritebatch.end(); case GS.Play: // TODO: Add your drawing code here spritebatch.begin(); 第 17 頁

18 GraphicsDevice.Clear(Color.White); spritebatch.draw(back, new Vector2(0, 0), Color.White); // 背景 for (int y = 0; y < BackHeight; y++) for (int x = 0; x < BackWidth; x++) Color tintcolor = TetronimoColors[Back[x, y]]; // 背景是用透明的 pixel, 這是用來定義顏色的 if (Back[x, y] == 0) tintcolor = Color.FromNonPremultiplied(20, 20, 20, 150); // 背景位置 spritebatch.draw(pixel, new Rectangle((int)BackLocation.X + x * PieceSize, (int)backlocation.y + (y-1) * PieceSize, PieceSize, PieceSize), new Rectangle(0, 0, 32, 32), tintcolor); // 印出方塊 int dim = MakePiece.GetLength(0); for (int y = 0; y < dim; y++) for (int x = 0; x < dim; x++) if (MakePiece[x, y]!= 0) Color tintcolor = TetronimoColors[MakePiece[x, y]]; spritebatch.draw(pixel, new Rectangle((int)BackLocation.X + ((int)makepiecelocation.x + x) * PieceSize, (int)backlocation.y + ((int)makepiecelocation.y + (y-1)) * PieceSize, PieceSize, PieceSize), new Rectangle(0, 0, 32, 32), tintcolor); // 印出 HOLD 的方塊 if (shift > 0) int dim3 = ShiftPiece.GetLength(0); for (int y = 0; y < dim3; y++) for (int x = 0; x < dim3; x++) if (ShiftPiece[x, y]!= 0) Color tintcolor = TetronimoColors[ShiftPiece[x, y]]; spritebatch.draw(pixel, new Rectangle(((int)19 + x) * 32, 第 18 頁

19 ((int)12 + y) * 32-13, 32, 32), new Rectangle(0, 0, 32, 32), tintcolor); // 印出下一個方塊 int dim2 = MakePiece2.GetLength(0); for (int y = 0; y < dim2; y++) for (int x = 0; x < dim2; x++) if (MakePiece2[x, y]!= 0) Color tintcolor = TetronimoColors[MakePiece2[x, y]]; spritebatch.draw(pixel, new Rectangle(((int)19 + x) * 32, ((int)4 + y) * 32, 32, 32), new Rectangle(0, 0, 32, 32), tintcolor); spritebatch.drawstring(font1, "Level:" + ((addline / 10) + 1), new Vector2(550, 600), Color.Black, 0, new Vector2(0, 0), 3f, SpriteEffects.None, 0.5f); spritebatch.drawstring(font1, "End Line:" + line, new Vector2(550, 650), Color.Black, 0, new Vector2(0, 0), 3f, SpriteEffects.None, 0.5f); spritebatch.end(); case GS.Over: spritebatch.begin(); spritebatch.draw(over, new Vector2(0, 0), Color.White); spritebatch.end(); case GS.Win: spritebatch.begin(); spritebatch.draw(win, new Vector2(0, 0), Color.White); spritebatch.end(); base.draw(gametime); 第 19 頁

Microsoft PowerPoint - Chap03.ppt [相容模式]

Microsoft PowerPoint - Chap03.ppt [相容模式] 本章目的 2D / 3D 遊戲程式設計入門使用 XNA 3.0 與 C# 探討 XNA 遊戲程式內部的基本架構與遊戲開發流程 示範如何完成一個簡單的 XNA 遊戲方案 第三章 XNA 遊戲程式基本架構 1 2 新增 XNA 專案 新增 XNA 專案 3 4 XNA 相關的命名空間 Game1.cs 程式中的六個函數 using Microsoft.Xna.Framework; // 和 XNA 架構相關的型別

More information

Microsoft PowerPoint - Chap04.ppt [相容模式]

Microsoft PowerPoint - Chap04.ppt [相容模式] 本章目的 2D / 3D 遊戲程式設計入門使用 XNA 3.0 與 C# 2D 圖形與字型的呈現 介紹 XNA 支援的 2D 圖形格式 介紹 2D 圖形的應用範圍 以多個範例來示範在 XNA 架構下 2D 圖形和字型的呈現方式 介紹 2D 圖形碰撞測試的演算法 1 2 2D 圖形的應用範圍 紋理圖展開的 UV 貼圖 紋理圖 (Texture) 精靈圖 (Sprite) 小張的背景拼圖 大張的背景圖

More information

台北市立大安高工職業學校

台北市立大安高工職業學校 臺 北 市 立 大 安 高 工 職 業 學 校 資 訊 科 專 題 報 告 XNA 格 鬥 遊 戲 ( 塗 鴉 格 鬥 Fight) Doodle 學 生 組 長 : 鄧 皓 文 組 員 : 陳 卲 剛 組 員 : 徐 仲 廷 組 員 : 黃 詩 涵 指 導 老 師 : 陳 龍 昇 中 華 民 國 101 年 1 月 簡 介 與 動 機 與 組 員 看 到 目 前 的 小 遊 戲, 對 我 來 說,

More information

Microsoft PowerPoint - ch6 [相容模式]

Microsoft PowerPoint - ch6 [相容模式] UiBinder wzyang@asia.edu.tw UiBinder Java GWT UiBinder XML UI i18n (widget) 1 2 UiBinder HelloWidget.ui.xml: UI HelloWidgetBinder HelloWidget.java XML UI Owner class ( Composite ) UI XML UiBinder: Owner

More information

任務二 : 產生 20 個有炸彈的磚塊, 放在隨機的位置編輯 Block 類別的程式碼 import greenfoot.; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) Write a description of class

任務二 : 產生 20 個有炸彈的磚塊, 放在隨機的位置編輯 Block 類別的程式碼 import greenfoot.; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) Write a description of class 踩地雷遊戲 高慧君南港高中 開啟專案 MineSweep 任務一 : 產生 30X20 個磚塊編輯 Table 類別的程式碼 import greenfoot.; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.util.arraylist; Write a description of class MyWorld

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

概述

概述 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

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

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

Microsoft Word - ACL chapter00a-1ed .doc

Microsoft Word - ACL chapter00a-1ed .doc 序三 A* Wi-Fi RLE RSA - v - 前言 NPC Horner s rule DOS PCX RLE RSA - - vii - 演算法的樂趣 0-1 60 23 1 32 O(n) O(n 2 ) O(n) O(n) MP3 - viii - 前言 http://books.gotop.com.tw/download/acl045600 http://blog.csdn.net/orbit/

More information

新版 明解C++入門編

新版 明解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 information

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc References (Section 5.2) Hsuan-Tien Lin Deptartment of CSIE, NTU OOP Class, March 15-16, 2010 H.-T. Lin (NTU CSIE) References OOP 03/15-16/2010 0 / 22 Fun Time (1) What happens in memory? 1 i n t i ; 2

More information

FY.DOC

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

More information

1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET NET Framework.NET Framework 2.0 ( 3 ).NET Framework 2.0.NET F

1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET NET Framework.NET Framework 2.0 ( 3 ).NET Framework 2.0.NET F 1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET 2.0 2.0.NET Framework.NET Framework 2.0 ( 3).NET Framework 2.0.NET Framework ( System ) o o o o o o Boxing UnBoxing() o

More information

PowerPoint Presentation

PowerPoint Presentation TOEFL Practice Online User Guide Revised September 2009 In This Guide General Tips for Using TOEFL Practice Online Directions for New Users Directions for Returning Users 2 General Tips To use TOEFL Practice

More information

Microsoft Word - ch04三校.doc

Microsoft Word - ch04三校.doc 4-1 4-1-1 (Object) (State) (Behavior) ( ) ( ) ( method) ( properties) ( functions) 4-2 4-1-2 (Message) ( ) ( ) ( ) A B A ( ) ( ) ( YourCar) ( changegear) ( lowergear) 4-1-3 (Class) (Blueprint) 4-3 changegear

More information

1 1 大概思路 创建 WebAPI 创建 CrossMainController 并编写 Nuget 安装 microsoft.aspnet.webapi.cors 跨域设置路由 编写 Jquery EasyUI 界面 运行效果 2 创建 WebAPI 创建 WebAPI, 新建 -> 项目 ->

1 1 大概思路 创建 WebAPI 创建 CrossMainController 并编写 Nuget 安装 microsoft.aspnet.webapi.cors 跨域设置路由 编写 Jquery EasyUI 界面 运行效果 2 创建 WebAPI 创建 WebAPI, 新建 -> 项目 -> 目录 1 大概思路... 1 2 创建 WebAPI... 1 3 创建 CrossMainController 并编写... 1 4 Nuget 安装 microsoft.aspnet.webapi.cors... 4 5 跨域设置路由... 4 6 编写 Jquery EasyUI 界面... 5 7 运行效果... 7 8 总结... 7 1 1 大概思路 创建 WebAPI 创建 CrossMainController

More information

1 4 1.1 4 1.2..4 2..4 2.1..4 3.4 3.1 Java.5 3.1.1..5 3.1.2 5 3.1.3 6 4.6 4.1 6 4.2.6 5 7 5.1..8 5.1.1 8 5.1.2..8 5.1.3..8 5.1.4..9 5.2..9 6.10 6.1.10

1 4 1.1 4 1.2..4 2..4 2.1..4 3.4 3.1 Java.5 3.1.1..5 3.1.2 5 3.1.3 6 4.6 4.1 6 4.2.6 5 7 5.1..8 5.1.1 8 5.1.2..8 5.1.3..8 5.1.4..9 5.2..9 6.10 6.1.10 Java V1.0.1 2007 4 10 1 4 1.1 4 1.2..4 2..4 2.1..4 3.4 3.1 Java.5 3.1.1..5 3.1.2 5 3.1.3 6 4.6 4.1 6 4.2.6 5 7 5.1..8 5.1.1 8 5.1.2..8 5.1.3..8 5.1.4..9 5.2..9 6.10 6.1.10 6.2.10 6.3..10 6.4 11 7.12 7.1

More information

untitled

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

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO Car DVD New GUI IR Flow User Manual V0.1 Jan 25, 2008 19, Innovation First Road Science Park Hsin-Chu Taiwan 300 R.O.C. Tel: 886-3-578-6005 Fax: 886-3-578-4418 Web: www.sunplus.com Important Notice SUNPLUS

More information

untitled

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

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

Microsoft PowerPoint - Lecture7II.ppt

Microsoft PowerPoint - Lecture7II.ppt Lecture 8II SUDOKU PUZZLE SUDOKU New Play Check 軟體實作與計算實驗 1 4x4 Sudoku row column 3 2 } 4 } block 1 4 軟體實作與計算實驗 2 Sudoku Puzzle Numbers in the puzzle belong {1,2,3,4} Constraints Each column must contain

More information

Guide to Install SATA Hard Disks

Guide to Install SATA Hard Disks SATA RAID 1. SATA. 2 1.1 SATA. 2 1.2 SATA 2 2. RAID (RAID 0 / RAID 1 / JBOD).. 4 2.1 RAID. 4 2.2 RAID 5 2.3 RAID 0 6 2.4 RAID 1.. 10 2.5 JBOD.. 16 3. Windows 2000 / Windows XP 20 1. SATA 1.1 SATA Serial

More information

untitled

untitled Ogre Rendering System http://antsam.blogone.net AntsamCGD@hotmail.com geometry systemmaterial systemshader systemrendering system API API DirectX OpenGL API Pipeline Abstraction API Pipeline Pipeline configurationpipeline

More information

untitled

untitled 1 Outline 類别 欄 (1) 類 類 狀 更 易 類 理 若 類 利 來 利 using 來 namespace 類 ; (2) namespace IBM class Notebook namespace Compaq class Notebook 類别 類 來 類 列 欄 (field) (property) (method) (event) 類 例 立 來 車 類 類 立 車 欄 料

More information

Microsoft PowerPoint - L17_Inheritance_v4.pptx

Microsoft PowerPoint - L17_Inheritance_v4.pptx C++ Programming Lecture 17 Wei Liu ( 刘 威 ) Dept. of Electronics and Information Eng. Huazhong University of Science and Technology May. 2015 Lecture 17 Chapter 20. Object-Oriented Programming: Inheritance

More information

TX-NR3030_BAS_Cs_ indd

TX-NR3030_BAS_Cs_ indd TX-NR3030 http://www.onkyo.com/manual/txnr3030/adv/cs.html Cs 1 2 3 Speaker Cable 2 HDMI OUT HDMI IN HDMI OUT HDMI OUT HDMI OUT HDMI OUT 1 DIGITAL OPTICAL OUT AUDIO OUT TV 3 1 5 4 6 1 2 3 3 2 2 4 3 2 5

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

02

02 Thinking in C++: Volume One: Introduction to Standard C++, Second Edition & Volume Two: Practical Programming C++ C C++ C++ 3 3 C C class C++ C++ C++ C++ string vector 2.1 interpreter compiler 2.1.1 BASIC

More information

untitled

untitled Inside ASP.NET 2.0- ASP.NET 1.1 2. 理念 讀 了 了 度 讀 了 理 類 來 來說 流 了 來 來 來 來 理 來 不 讀 不 不 力 來參 流 讀 了 異 行 來了 錄 行 不 了 來 了 來 行 論說 了 更 不 例 來了 力 行 樂 不 說 兩 例 利 來 了 來 樂 了 了 令 讀 來 不 不 來 了 不 旅行 令 錄 錄 來 了 例 來 利 來 ManagerProvide

More information

Microsoft Word - template.doc

Microsoft Word - template.doc HGC efax Service User Guide I. Getting Started Page 1 II. Fax Forward Page 2 4 III. Web Viewing Page 5 7 IV. General Management Page 8 12 V. Help Desk Page 13 VI. Logout Page 13 Page 0 I. Getting Started

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

<4D6963726F736F667420576F7264202D2032303130C4EAC0EDB9A4C0E04142BCB6D4C4B6C1C5D0B6CFC0FDCCE2BEABD1A15F325F2E646F63>

<4D6963726F736F667420576F7264202D2032303130C4EAC0EDB9A4C0E04142BCB6D4C4B6C1C5D0B6CFC0FDCCE2BEABD1A15F325F2E646F63> 2010 年 理 工 类 AB 级 阅 读 判 断 例 题 精 选 (2) Computer mouse How does the mouse work? We have to start at the bottom, so think upside down for now. It all starts with mouse ball. As the mouse ball in the bottom

More information

untitled

untitled 1 行 行 行 行.NET 行 行 類 來 行 行 Thread 類 行 System.Threading 來 類 Thread 類 (1) public Thread(ThreadStart start ); Name 行 IsAlive 行 行狀 Start 行 行 Suspend 行 Resume 行 行 Thread 類 (2) Sleep 行 CurrentThread 行 ThreadStart

More information

Microsoft Word - 01.DOC

Microsoft Word - 01.DOC 第 1 章 JavaScript 简 介 JavaScript 是 NetScape 公 司 为 Navigator 浏 览 器 开 发 的, 是 写 在 HTML 文 件 中 的 一 种 脚 本 语 言, 能 实 现 网 页 内 容 的 交 互 显 示 当 用 户 在 客 户 端 显 示 该 网 页 时, 浏 览 器 就 会 执 行 JavaScript 程 序, 用 户 通 过 交 互 式 的

More information

Chapter 9: Objects and Classes

Chapter 9: Objects and Classes Java application Java main applet Web applet Runnable Thread CPU Thread 1 Thread 2 Thread 3 CUP Thread 1 Thread 2 Thread 3 ,,. (new) Thread (runnable) start( ) CPU (running) run ( ) blocked CPU sleep(

More information

AL-MX200 Series

AL-MX200 Series PostScript Level3 Compatible NPD4760-00 TC Seiko Epson Corporation Seiko Epson Corporation ( ) Seiko Epson Corporation Seiko Epson Corporation Epson Seiko Epson Corporation Apple Bonjour ColorSync Macintosh

More information

ebook50-15

ebook50-15 15 82 C / C + + Developer Studio M F C C C + + 83 C / C + + M F C D L L D L L 84 M F C MFC DLL M F C 85 MFC DLL 15.1 82 C/C++ C C + + D L L M F C M F C 84 Developer Studio S t u d i o 292 C _ c p l u s

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

06 01 action JavaScript action jquery jquery AJAX CSS jquery CSS jquery HTML CSS jquery.css() getter setter.css('backgroundcolor') jquery CSS b

06 01 action JavaScript action jquery jquery AJAX CSS jquery CSS jquery HTML CSS jquery.css() getter setter.css('backgroundcolor') jquery CSS b 06 01 action JavaScript action jquery jquery AJAX 04 4-1 CSS jquery CSS jquery HTML CSS jquery.css() getter setter.css('backgroundcolor') jquery CSS background-color camel-cased DOM backgroundcolor.css()

More information

Visual Basic D 3D

Visual Basic D 3D Visual Basic 2008 2D 3D 6-1 6-1 - 6-2 - 06 6-2 STEP 1 5-2 (1) STEP 2 5-3 (2) - 6-3 - Visual Basic 2008 2D 3D STEP 3 User1 6-4 (3) STEP 4 User1 6-5 (4) - 6-4 - 06 STEP 5 6-6 (5) 6-3 6-3-1 (LoginForm) PictureBox1

More information

AL-M200 Series

AL-M200 Series NPD4754-00 TC ( ) Windows 7 1. [Start ( )] [Control Panel ()] [Network and Internet ( )] 2. [Network and Sharing Center ( )] 3. [Change adapter settings ( )] 4. 3 Windows XP 1. [Start ( )] [Control Panel

More information

Windows XP

Windows XP Windows XP What is Windows XP Windows is an Operating System An Operating System is the program that controls the hardware of your computer, and gives you an interface that allows you and other programs

More information

2015年4月11日雅思阅读预测机经(新东方版)

2015年4月11日雅思阅读预测机经(新东方版) 剑 桥 雅 思 10 第 一 时 间 解 析 阅 读 部 分 1 剑 桥 雅 思 10 整 体 内 容 统 计 2 剑 桥 雅 思 10 话 题 类 型 从 以 上 统 计 可 以 看 出, 雅 思 阅 读 的 考 试 话 题 一 直 广 泛 多 样 而 题 型 则 稳 中 有 变 以 剑 桥 10 的 test 4 为 例 出 现 的 三 篇 文 章 分 别 是 自 然 类, 心 理 研 究 类,

More information

K7VT2_QIG_v3

K7VT2_QIG_v3 ............ 1 2 3 4 5 [R] : Enter Raid setup utility 6 Press[A]keytocreateRAID RAID Type: JBOD RAID 0 RAID 1: 2 7 RAID 0 Auto Create Manual Create: 2 RAID 0 Block Size: 16K 32K

More information

INTRODUCTION TO COM.DOC

INTRODUCTION TO COM.DOC How About COM & ActiveX Control With Visual C++ 6.0 Author: Curtis CHOU mahler@ms16.hinet.net This document can be freely release and distribute without modify. ACTIVEX CONTROLS... 3 ACTIVEX... 3 MFC ACTIVEX

More information

BC04 Module_antenna__ doc

BC04 Module_antenna__ doc http://www.infobluetooth.com TEL:+86-23-68798999 Fax: +86-23-68889515 Page 1 of 10 http://www.infobluetooth.com TEL:+86-23-68798999 Fax: +86-23-68889515 Page 2 of 10 http://www.infobluetooth.com TEL:+86-23-68798999

More information

<4D6963726F736F667420506F776572506F696E74202D20332D322E432B2BC3E6CFF2B6D4CFF3B3CCD0F2C9E8BCC6A1AAD6D8D4D8A1A2BCCCB3D0A1A2B6E0CCACBACDBEDBBACF2E707074>

<4D6963726F736F667420506F776572506F696E74202D20332D322E432B2BC3E6CFF2B6D4CFF3B3CCD0F2C9E8BCC6A1AAD6D8D4D8A1A2BCCCB3D0A1A2B6E0CCACBACDBEDBBACF2E707074> 程 序 设 计 实 习 INFO130048 3-2.C++ 面 向 对 象 程 序 设 计 重 载 继 承 多 态 和 聚 合 复 旦 大 学 计 算 机 科 学 与 工 程 系 彭 鑫 pengxin@fudan.edu.cn 内 容 摘 要 方 法 重 载 类 的 继 承 对 象 引 用 和 拷 贝 构 造 函 数 虚 函 数 和 多 态 性 类 的 聚 集 复 旦 大 学 计 算 机 科 学

More information

untitled

untitled 1 Outline 流 ( ) 流 ( ) 流 ( ) 流 ( ) 流 ( ) 狀 流 ( ) 利 來 行流 if () 立 行 ; else 不 立 行 ; 例 sample2-a1 (1) 列 // 料 Console.Write(""); string name = Console.ReadLine(); Console.WriteLine(" " + name + "!!"); 例 sample2-a1

More information

SHIMPO_表1-表4

SHIMPO_表1-表4 For servo motor ABLEREDUCER SSeries Coaxial shaft series Features S series Standard backlash is 3 arc-min, ideal for precision control. High rigidity & high torque were achived by uncaged needle roller

More information

投影片 1

投影片 1 軟體說明書繁體中文 RGB A 目錄 - CONTENTS 01 09 15 17 22 軟體主介面 巨集設定說明 主介面概觀 個人設定檔 (Profiles) 一般模式 / 遊戲模式 按鍵功能分配 巨集管理器概觀 巨集管理器 巨集錄製設定 巨集錄製時間列表 插入指令 閃移系統 - I.S.S (Instant Shift System) 燈光設定更新韌體 閃移系統啟動鈕設定說明 燈光設定介面 介面區域一

More information

Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies to all d

Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies to all d WeChat Search Visual Identity Guidelines WEDESIGN 2018. 04 Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies

More information

Eclipse C C++, or

Eclipse C C++,  or Eclipse C C++, Emailctchen@pl.csie.ntut.edu.tw or s1669021@ntut.edu.tw, s2598003@ntut.edu.tw http://pl.csie.ntut.edu.tw/~ctchen, http://www.ntut.edu.tw/~s2598003/ 2004/9/10 (0.02 ) Eclipse http://www.eclipse.org

More information

65%,臺北

65%,臺北 二 六,65%, 臺 中 65%, 臺 北 夏 天 正 要 開 始, 我 北 上, 像 粽 子 上 掉 下 的 糯 米, 黏 著 你 我 還 記 得, 我 要 離 家 的 那 天, 我 去 百 貨 公 司 刷 了 三 套 昂 貴 的 新 內 衣, 買 了 AVADA 充 滿 精 油 芳 香 的 有 機 保 養 品, 然 後 從 我 房 間 的 衣 櫃 隨 手 收 了 兩 三 件 T 恤 一 併 放

More information

6-1 Table Column Data Type Row Record 1. DBMS 2. DBMS MySQL Microsoft Access SQL Server Oracle 3. ODBC SQL 1. Structured Query Language 2. IBM

6-1 Table Column Data Type Row Record 1. DBMS 2. DBMS MySQL Microsoft Access SQL Server Oracle 3. ODBC SQL 1. Structured Query Language 2. IBM CHAPTER 6 SQL SQL SQL 6-1 Table Column Data Type Row Record 1. DBMS 2. DBMS MySQL Microsoft Access SQL Server Oracle 3. ODBC SQL 1. Structured Query Language 2. IBM 3. 1986 10 ANSI SQL ANSI X3. 135-1986

More information

詞 彙 表 編 號 詞 彙 描 述 1 預 約 人 資 料 中 文 姓 名 英 文 姓 名 身 份 證 字 號 預 約 人 電 話 性 別 2 付 款 資 料 信 用 卡 別 信 用 卡 號 信 用 卡 有 效 日 期 3 住 房 條 件 入 住 日 期 退 房 日 期 人 數 房 間 數 量 入

詞 彙 表 編 號 詞 彙 描 述 1 預 約 人 資 料 中 文 姓 名 英 文 姓 名 身 份 證 字 號 預 約 人 電 話 性 別 2 付 款 資 料 信 用 卡 別 信 用 卡 號 信 用 卡 有 效 日 期 3 住 房 條 件 入 住 日 期 退 房 日 期 人 數 房 間 數 量 入 100 年 特 種 考 試 地 方 政 府 公 務 人 員 考 試 試 題 等 別 : 三 等 考 試 類 科 : 資 訊 處 理 科 目 : 系 統 分 析 與 設 計 一 請 參 考 下 列 旅 館 管 理 系 統 的 使 用 案 例 圖 (Use Case Diagram) 撰 寫 預 約 房 間 的 使 用 案 例 規 格 書 (Use Case Specification), 繪 出 入

More information

前言 C# C# C# C C# C# C# C# C# microservices C# More Effective C# More Effective C# C# C# C# Effective C# 50 C# C# 7 Effective vii

前言 C# C# C# C C# C# C# C# C# microservices C# More Effective C# More Effective C# C# C# C# Effective C# 50 C# C# 7 Effective vii 前言 C# C# C# C C# C# C# C# C# microservices C# More Effective C# More Effective C# C# C# C# Effective C# 50 C# C# 7 Effective vii C# 7 More Effective C# C# C# C# C# C# Common Language Runtime CLR just-in-time

More information

SDS 1.3

SDS 1.3 Applied Biosystems 7300 Real-Time PCR System (With RQ Study) SDS 1.3 I. ~ I. 1. : Dell GX280 2.8GHz with Dell 17 Flat monitor 256 MB RAM 40 GB hard drive DVD-RW drive Microsoft Windows XP Operating System

More information

Outline USB Application Requirements Variable Definition Communications Code for VB Code for Keil C Practice

Outline USB Application Requirements Variable Definition Communications Code for VB Code for Keil C Practice 路 ESW 聯 USB Chapter 9 Applications For Windows Outline USB Application Requirements Variable Definition Communications Code for VB Code for Keil C Practice USB I/O USB / USB 3 料 2 1 3 路 USB / 列 料 料 料 LED

More information

2 WF 1 T I P WF WF WF WF WF WF WF WF 2.1 WF WF WF WF WF WF

2 WF 1 T I P WF WF WF WF WF WF WF WF 2.1 WF WF WF WF WF WF Chapter 2 WF 2.1 WF 2.2 2. XAML 2. 2 WF 1 T I P WF WF WF WF WF WF WF WF 2.1 WF WF WF WF WF WF WF WF WF WF EDI API WF Visual Studio Designer 1 2.1 WF Windows Workflow Foundation 2 WF 1 WF Domain-Specific

More information

全国计算机技术与软件专业技术资格(水平)考试

全国计算机技术与软件专业技术资格(水平)考试 全 国 计 算 机 技 术 与 软 件 专 业 技 术 资 格 ( 水 平 ) 考 试 2008 年 上 半 年 程 序 员 下 午 试 卷 ( 考 试 时 间 14:00~16:30 共 150 分 钟 ) 试 题 一 ( 共 15 分 ) 阅 读 以 下 说 明 和 流 程 图, 填 补 流 程 图 中 的 空 缺 (1)~(9), 将 解 答 填 入 答 题 纸 的 对 应 栏 内 [ 说 明

More information

extend

extend (object oriented) Encapsulation Inheritance Polymorphism Dynamic Binding (base class) (derived class) 1 class Base { int I; void X(); void Y(); class Derived: public Base { private: int j; void z(); Derived

More information

Microsoft Word - Front cover_white.doc

Microsoft Word - Front cover_white.doc Real Time Programme 行 情 报 价 程 序 Seamico Securities Public Company Limited WWW.SEAMICO.COM Table of Content 目 录 开 始 使 用 开 始 使 用 Z Net 程 序 程 序 1 股 票 观 察 者 4 每 日 股 票 按 时 间 的 交 易 查 询 10 多 股 同 列 13 股 票 行 情

More information

Spyder Anaconda Spyder Python Spyder Python Spyder Spyder Spyder 開始 \ 所有程式 \ Anaconda3 (64-bit) \ Spyder Spyder IPython Python IPython Sp

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

untitled

untitled 51Testing Diana LI Xbox Xbox Live Fidelity Investments Office Server group Xbox Expedia Inc ( elong ) 1996 1996. bug break - 5Ws bug. Trust No One) QA Function Assignment Checking Timing Build/Package/Merge

More information

Microsoft PowerPoint - 20130411-龍華科技大學遊戲系-Unity teaching

Microsoft PowerPoint - 20130411-龍華科技大學遊戲系-Unity teaching Unity 開 發 實 務 ( 一 ) 雷 爵 網 絡 尤 治 凱 關 於 我 龍 華 科 技 大 學 多 媒 體 與 遊 戲 發 展 科 學 系 畢 業 4 年 遊 戲 業 資 歷 現 任 雷 爵 網 絡 遊 戲 開 發 工 程 師 1 款 單 機 遊 戲 開 發 1 款 MMO 遊 戲 維 護 1 款 MMO 遊 戲 開 發,1 款 APP 開 發 綱 要 小 遊 戲 展 示 小 遊 戲 發 想

More information

《大话设计模式》第一章

《大话设计模式》第一章 第 1 章 代 码 无 错 就 是 优? 简 单 工 厂 模 式 1.1 面 试 受 挫 小 菜 今 年 计 算 机 专 业 大 四 了, 学 了 不 少 软 件 开 发 方 面 的 东 西, 也 学 着 编 了 些 小 程 序, 踌 躇 满 志, 一 心 要 找 一 个 好 单 位 当 投 递 了 无 数 份 简 历 后, 终 于 收 到 了 一 个 单 位 的 面 试 通 知, 小 菜 欣 喜

More information

邏輯分析儀的概念與原理-展示版

邏輯分析儀的概念與原理-展示版 PC Base Standalone LA-100 Q&A - - - - - - - SCOPE - - LA - - ( Embedded ) ( Skew ) - Data In External CLK Internal CLK Display Buffer ASIC CPU Memory Trigger Level - - Clock BUS Timing State - ( Timing

More information

r_09hr_practical_guide_kor.pdf

r_09hr_practical_guide_kor.pdf PRACTICAL GUIDE TO THE EDIROL R-09HR 3 4 PRACTICAL GUIDE TO THE EDIROL R-09HR 5 Situation 1 6 1 2 3 PRACTICAL GUIDE TO THE EDIROL R-09HR WAV MP3 WAV 24 bit/96 khz WAV 16 bit/44.1 khz MP3 128 kbps/44.1

More information

KillTest 质量更高 服务更好 学习资料 半年免费更新服务

KillTest 质量更高 服务更好 学习资料   半年免费更新服务 KillTest 质量更高 服务更好 学习资料 http://www.killtest.cn 半年免费更新服务 Exam : 310-055Big5 Title : Sun Certified Programmer for the Java 2 Platform.SE 5.0 Version : Demo 1 / 22 1. 11. public static void parse(string str)

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

Gerolor Motors Series Dimensions A,B C T L L G1/2 M8 G1/ A 4 C H4 E

Gerolor Motors Series Dimensions A,B C T L L G1/2 M8 G1/ A 4 C H4 E Gerolor Motors Series Size CC-A Flange Options-B Shaft Options-C Ports Features 0 0 12 12 1 1 0 0 2 2 31 31 0 0 SAE A 2 Bolt - (2) 4 Bolt Magneto (4) 4 Bolt Square (H4) 1.0" Keyed (C) 2mm Keyed (A) 1.0'

More information

2D Asset Demo Rain Snow SteamSpray VolumeSteam Waterfall Demo Unity Asset store 7.3 2D example\practice\ch07 Unity ch07 MissileExplosion Wall 7-8

2D Asset Demo Rain Snow SteamSpray VolumeSteam Waterfall Demo Unity Asset store 7.3 2D example\practice\ch07 Unity ch07 MissileExplosion Wall 7-8 07 CHAPTER 2D Unity Particles System 7.1 Unity 7.2 7.3 2D Asset Demo Rain Snow SteamSpray VolumeSteam Waterfall Demo Unity Asset store 7.3 2D example\practice\ch07 Unity ch07 MissileExplosion Wall 7-8

More information

附录J:Eclipse教程

附录J:Eclipse教程 附 录 J:Eclipse 教 程 By Y.Daniel Liang 该 帮 助 文 档 包 括 以 下 内 容 : Eclipse 入 门 选 择 透 视 图 创 建 项 目 创 建 Java 程 序 编 译 和 运 行 Java 程 序 从 命 令 行 运 行 Java Application 在 Eclipse 中 调 试 提 示 : 在 学 习 完 第 一 章 后 使 用 本 教 程 第

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

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

Strings

Strings Inheritance Cheng-Chin Chiang Relationships among Classes A 類 別 使 用 B 類 別 學 生 使 用 手 機 傳 遞 訊 息 公 司 使 用 金 庫 儲 存 重 要 文 件 人 類 使 用 交 通 工 具 旅 行 A 類 別 中 有 B 類 別 汽 車 有 輪 子 三 角 形 有 三 個 頂 點 電 腦 內 有 中 央 處 理 單 元 A

More information

Cover-YP-35-ch

Cover-YP-35-ch AH68-01283C (Rev 0.0) PC USB USB CD Ripper yepp MP3 EQ File Direct Play DISPLAY BACK LIGHT BEEP CONTRAST SCROLL SPEED POWER OFF TIME DEFAULT VOLUME WOW LEVEL ENCODE MENU yepp 2 SRS 3 0 0 35-5/ 0 0 0 /

More information

SHIMPO_表1-表4

SHIMPO_表1-表4 For servo motor ABLEREDUCER L Series Features Coaxial shaft series L series Helical gears contribute to reduce vibration and noise. Standard backlash is 5 arc-min, ideal for precision control. High rigidity

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

V6800/V6600 3D

V6800/V6600 3D V6800/V6600 3D V6600/V6800 3D R 2000 2 3 4 5 R 6 7 8 The VIP (Video Interface Port) Connector are used for third party add-on modules, such as video capture cards or television tuners. DDR: Double Data

More information

Strings

Strings Polymorphism and Virtual Functions Cheng-Chin Chiang Virtual Function Basics 多 型 (Polymorphism) 賦 予 一 個 函 數 多 種 意 涵, 存 在 於 同 一 類 別 之 內 祖 先 類 別 與 後 代 類 別 間 物 件 導 向 程 式 設 計 基 本 原 理 虛 擬 函 數 (Virtual Function)

More information

EJB-Programming-3.PDF

EJB-Programming-3.PDF :, JBuilder EJB 2.x CMP EJB Relationships JBuilder EJB Test Client EJB EJB Seminar CMP Entity Beans Value Object Design Pattern J2EE Design Patterns Value Object Value Object Factory J2EE EJB Test Client

More information

影視後製全攻略 Premiere Pro After Effects Encore 自序 Adobe Premiere Pro After Effects Encore 2008 Adobe CS Adobe CS5 Adobe CS4 Premiere Pro After Effect

影視後製全攻略 Premiere Pro After Effects Encore 自序 Adobe Premiere Pro After Effects Encore 2008 Adobe CS Adobe CS5 Adobe CS4 Premiere Pro After Effect 自序 Adobe Premiere Pro After Effects Encore 2008 Adobe CS3 2010 Adobe CS5 Adobe CS4 Premiere Pro After Effects Encore 18 ii Tony Cathy 2010/8 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 iii Premiere

More information

勞動條件檢查執行重點(雲林)_1050323 [相容模式]

勞動條件檢查執行重點(雲林)_1050323 [相容模式] 勞 動 條 件 檢 查 執 行 重 點 主 講 : 雲 林 縣 政 府 勞 工 處 大 鋼 105 年 新 工 時 規 定 修 正 重 點 現 行 工 時 制 度 工 資 促 進 就 業 平 等 措 施 2 105 年 新 工 時 規 定 修 正 重 點 1. 原 雇 主 應 置 備 勞 工 簽 到 簿 或 出 勤 卡 之 規 定 修 正 為 出 勤 紀 錄 修 正 第 一 項 法 定 工 時 2.

More information

醋 水 法 在 水 盆 內 放 入 約 七 分 滿 的 水 與 1/2 到 1 小 杯 的 醋 量, 將 髒 襪 子 浸 泡 一 晚, 隔 天 再 丟 入 洗 衣 機, 就 能 洗 得 相 當 乾 淨 醋 有 殺 菌 除 臭 和 漂 白 功 效, 使 用 過 的 醋 水, 還 可 清 理 地 板,

醋 水 法 在 水 盆 內 放 入 約 七 分 滿 的 水 與 1/2 到 1 小 杯 的 醋 量, 將 髒 襪 子 浸 泡 一 晚, 隔 天 再 丟 入 洗 衣 機, 就 能 洗 得 相 當 乾 淨 醋 有 殺 菌 除 臭 和 漂 白 功 效, 使 用 過 的 醋 水, 還 可 清 理 地 板, 家 事 生 活 小 技 巧 髒 襪 子 清 洗 撇 步 手 套 法 雙 手 套 進 襪 子 裡, 像 洗 手 套 一 樣, 利 用 手 指 左 右 揉 搓, 將 難 洗 的 污 垢 洗 乾 淨 彈 珠 法 在 洗 衣 網 內, 放 入 襪 子 以 及 約 十 顆 左 右 的 彈 珠, 利 用 彈 珠 與 襪 子 碰 撞 之 間, 將 髒 汙 從 纖 維 之 中 揉 搓 出 來 醋 水 法 在 水 盆

More information

穨2000010.PDF

穨2000010.PDF -1- -2- -3- -4- -5- -6- -7- -8- -9- -10- 89 9 7 7:30 1 9 9 7:30~9:30 1 2 3 2 9 1112 7:30~9:30 2000 1 2 3 3 10 5 1 9 2 10 5-11- 10 6 3 10 26 4 10 7 7:00 4 10 11 12 110 10 14 7 211 11 4 7 312 12 12 31 2000

More information

第一冊 第四章 分裂與再統一 班級 座號 姓吊

第一冊  第四章  分裂與再統一             班級    座號    姓吊 石 器 文 明 石 器 時 代 文 字 發 明 前 為, 文 字 發 明 以 後 進 入 第 三 冊 ( 第 1 章 從 史 前 到 春 秋 戰 國 ) 1. 遠 古 人 類 最 初 以 為 主 要 工 具, 考 古 學 家 把 這 個 時 代 稱 為 石 器 時 代 2. 又 根 據 石 器 製 作 方 式 的 不 同, 分 為 (1) 舊 石 器 時 代 -- (2) 新 石 器 時 代 --

More information

Microsoft Word - 完全手冊-課程.doc

Microsoft Word - 完全手冊-課程.doc 課 程 鍋 爐 具 1. 黑 鍋 : 大 鍋 ( 煮 飯 用 ) 小 鍋 ( 煮 菜 用 ) 湯 鍋 鍋 炳 大 中 小 鍋 蓋 賓 士 盤 *5 調 味 杯 ( 分 別 裝 鹽 糖 油 醬 油 沙 拉 油 ) 鍋 炳 + 大 鍋 蓋 = 平 底 鍋 2. 泥 + 水 或 牙 膏, 塗 在 鍋 底 下 煮, 鍋 底 就 不 會 被 火 燒 焦 黑 帳 篷 1. 包 含 內 帳 外 帳 2 根 營 柱

More information

4. 每 组 学 生 将 写 有 习 语 和 含 义 的 两 组 卡 片 分 别 洗 牌, 将 顺 序 打 乱, 然 后 将 两 组 卡 片 反 面 朝 上 置 于 课 桌 上 5. 学 生 依 次 从 两 组 卡 片 中 各 抽 取 一 张, 展 示 给 小 组 成 员, 并 大 声 朗 读 卡

4. 每 组 学 生 将 写 有 习 语 和 含 义 的 两 组 卡 片 分 别 洗 牌, 将 顺 序 打 乱, 然 后 将 两 组 卡 片 反 面 朝 上 置 于 课 桌 上 5. 学 生 依 次 从 两 组 卡 片 中 各 抽 取 一 张, 展 示 给 小 组 成 员, 并 大 声 朗 读 卡 Tips of the Week 课 堂 上 的 英 语 习 语 教 学 ( 二 ) 2015-04-19 吴 倩 MarriottCHEI 大 家 好! 欢 迎 来 到 Tips of the Week! 这 周 我 想 和 老 师 们 分 享 另 外 两 个 课 堂 上 可 以 开 展 的 英 语 习 语 教 学 活 动 其 中 一 个 活 动 是 一 个 充 满 趣 味 的 游 戏, 另 外

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

科 技 与 法 律 Science Technology and Law Vol.89, No.1, 2011 作 品 若 将 打 字 机 也 算 作 字 体 工 具, 那 么 打 字 机 不 是 美 术 作 品, 只 是 一 种 工 业 产 品 字 帖 是 美 术 作 品 么? 笔 者 认 为,

科 技 与 法 律 Science Technology and Law Vol.89, No.1, 2011 作 品 若 将 打 字 机 也 算 作 字 体 工 具, 那 么 打 字 机 不 是 美 术 作 品, 只 是 一 种 工 业 产 品 字 帖 是 美 术 作 品 么? 笔 者 认 为, 专题研究 计算机字体版权保护 张玉瑞 论计算机字体的版权保护 论计算机字体的版权保护 张玉瑞 中国社会科学院法学研究所 北京 100720 摘 要 对计算机字体产生之单字寻求版权保护 是近来知识产权法律中的热点和难点问题 从字体保护的 国际公约 外国法律及其司法实践看 字体工具属于计算机软件产品 其产生的单字没有版权 社会无关第 三人的使用不构成侵犯书法作品版权 计算机字库是字体工具 不是美术作品

More information

mvc

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

ebook50-11

ebook50-11 11 Wi n d o w s C A D 53 M F C 54 55 56 57 58 M F C 11.1 53 11-1 11-1 MFC M F C C D C Wi n d o w s Wi n d o w s 4 11 199 1. 1) W M _ PA I N T p W n d C W n d C D C * p D C = p W n d GetDC( ); 2) p W n

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

Microsoft Word - 1-3陳詠琳-近代..

Microsoft Word - 1-3陳詠琳-近代.. 近 代 數 字 卦 研 究 考 述 陳 詠 琳 摘 要 所 謂 的 數 字 卦, 乃 指 出 土 文 物 上 某 種 奇 特 的 卜 筮 符 號, 有 學 者 表 示 這 些 符 號 為 數 字, 並 將 之 與 周 易 連 結, 遂 使 此 類 符 號 有 筮 數 易 卦 之 稱, 為 一 門 新 穎 的 易 學 研 究 議 題 張 政 烺 以 奇 數 為 陽, 偶 數 為 陰 的 原 則, 把

More information

PIC_SERVER (11) SMTP ( ) ( ) PIC_SERVER (10) SMTP PIC_SERVER (event driven) PIC_SERVER SMTP 1. E-

PIC_SERVER (11) SMTP  ( ) ( ) PIC_SERVER (10) SMTP  PIC_SERVER (event driven)  PIC_SERVER SMTP  1.  E- (2005-02-01) (2005-04-28) PIC_SERVER (10) SMTP E-mail PIC_SERVER (event driven) E-mail PIC_SERVER SMTP E-mail 1. E-mail E-mail 1 (1) (2) (3) (4) 1 1. 2 E-mail A E-mail B E-mail SMTP(Simple Mail Transfer

More information