1 / 12

Windows Programming

Windows Programming. Hsing -Chuan Yu VC Lab 2008 Fall. 參考書目. [1] Visual C++ 2005 視窗程式設計經典 作者:林俊杰 , 出版社:碁鋒 , 出版日期: 2006 [2] Visual C++ .NET 入門手冊:使用 .NET v1.0 譯者:黃珮茹 , 出版社:碁鋒 , 出版日期: 2003 [3] 新 C++ 學習繪本 作者: ANK Co.( 博碩編譯 ), 出版社:博碩 , 出版日期: 2006. 1. 認識視窗程式 (C++).

thane-gay
Download Presentation

Windows Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Windows Programming Hsing-Chuan Yu VC Lab 2008 Fall H.C. Yu, VC LAB, NCU, 2008 Fall

  2. 參考書目 [1] Visual C++ 2005 視窗程式設計經典作者:林俊杰, 出版社:碁鋒, 出版日期:2006 [2] Visual C++ .NET 入門手冊:使用.NET v1.0 譯者:黃珮茹, 出版社:碁鋒, 出版日期:2003 [3] 新C++學習繪本 作者:ANKCo.(博碩編譯), 出版社:博碩, 出版日期:2006 H.C. Yu, VC LAB, NCU, 2008 Fall

  3. 1.認識視窗程式(C++) • C++語言是C語言加上物件導向等功能後的語言。 • 「視窗應用程式」可分成許多功能獨立的「物件」,各自負責不同類型的工作。 等待事件觸發 執行對應動作 H.C. Yu, VC LAB, NCU, 2008 Fall

  4. 2.視窗範例程式(1/4) • 開啟Microsoft Visual Studio • 「檔案」-> 「新增」-> 「專案」 H.C. Yu, VC LAB, NCU, 2008 Fall

  5. 2.視窗範例程式(2/4) • 選擇開發語言種類 • 選擇想要開發的程式類型 • 輸入專案名稱 • 選擇儲存的資料夾 • 確定 H.C. Yu, VC LAB, NCU, 2008 Fall

  6. 2.視窗範例程式(3/4) H.C. Yu, VC LAB, NCU, 2008 Fall

  7. 2.視窗範例程式(4/4) H.C. Yu, VC LAB, NCU, 2008 Fall

  8. 2.視窗範例程式(課堂練習) • 開新專案 • 拉表框 • 修改屬性 • 貼上程式碼 • 除錯 H.C. Yu, VC LAB, NCU, 2008 Fall

  9. 3.物件導向(1/3) • 類別與物件類別自己並不能收納值,因此需要製造可以收納值的實體,這個實體就稱為物件。 H.C. Yu, VC LAB, NCU, 2008 Fall

  10. 3.物件導向(2/3) H.C. Yu, VC LAB, NCU, 2008 Fall

  11. 3.物件導向(3/3) • 成員變數、成員函數 H.C. Yu, VC LAB, NCU, 2008 Fall

  12. 4.視窗程式課程總結 • 視窗程式可建構友善的GUI環境,並且學習容易。 • 整合開發環境的選項多,需要慢慢適應。 • 深入學習指引:建立物件導向的觀念。(可參閱參考書目[3]) H.C. Yu, VC LAB, NCU, 2008 Fall

More Related