《Windows程序設計》課程介紹
盡管你已經學過程序設計基礎和面向對象的程序設計,但你依然不知道如何設計一個具有圖形化界面能在Windows環境下運行的程序,在軟件産業飛速發展的今天,能在Windows 操作系統環境下進行編程是對計算機專業學生的基本要求。
《Windows程序設計》課程是計算機科學與技術和網絡與信息安全專業學生的專業教育選修課。開設本課程的目的是使學生掌握事件驅動方式的程序設計原理,培養學生在Windows 操作系統下進行程序設計的能力,提高學生解決實際問題的能力。
本課程主要内容包括:在Windows 操作系統環境下事件驅動方式的程序設計的基本原理、Windows程序設計的基本概念,如Windows的消息産生機制、消息的處理機制、消息隊列、Windows 編程框架、窗口過程函數、環境描述表、窗口無效區域、GDI函數及相關概念(如字符串輸出函數、曲線繪制函數、畫刷、畫筆、字體等)、擊鍵消息和字符消息的處理、鼠标消息的處理、定時器消息的處理、控件、菜單、對話框等。通過學習經典的例子程序,掌握基本的編程技巧,并能完成編制如“掃雷遊戲程序”、“五子棋遊戲程序”、 “特殊漢字符号輸入對話框程序”等一些有一定難度和工作量的的程序,不斷提高動手能力和解決具體問題能力。
本課程第一學年短學期開設,計劃學時32,先修課為程序設計基礎。
Introduction to the course“Programming Windows”
Although you have learned The Basis of Programming and Object-Oriented Programming, you don’t know how to design a programme with graphical interface which can be executed under Windows. Nowadays, it is necessary for a software professional to write programmes executed in the environment of Windows.
The course aims at teaching students to grasp the basic principle of event-driven programming in Windows, learn the basic methods and techniques of programming under Windows, deisgn programmes with graphical interface executed under Windows. The main content of the course as follows: the basic principle of event-driven programming in Windows, message, keyboard, mouse, times, control,menu,dialogbox and so on.