Visual C++ Programming Fundamentals
In this class,it will cover the basic skills of windows programming under Microsoft platform,The students will learn step by step to use object-oriented design (OOD) strategy to develop professional projects involving MFC document-view architecture,database connection,dynamic link library(DLL),graphics user interface(GUI),There are four parts in this class.
Prerequisites:
Students to take this class should have basic understanding of C++ language and OOD ideas.
Class Hours:
40 hours in class,8 hours for labs
Textbook,
“Inside Visual C++” by David J,Kruglinski
Home Works:
10 home projects
Test:
As School Required
Outline
Part I Windows,Visual C++ and Application Framework Fundamentals 4 hours
Special Features of Windows Programming; Development Environment (Integrated Development Environment IDE); How to Setup Visual C++ and Use On-line Help; Dynamic Link Library (DLL) and its Position in Microsoft Windows Platform
Chapter One Microsoft Windows and Visual C++ 2 hours
Chapter Two The Microsoft Foundation Class Library Application Framework 2 hours
Part II MFC View Class 14 Hours
User Interface,Event Handling,Graphics Device Interface,Modal and Modeless Dialogs,Windows Common Controls,ActiveX Control,Memory Management and Message Processing
Chapter Three Getting Started with AppWizard 1 hour
Chapter Four Basic Event Handling,Mapping Modes and a scrolling View 2 hours
Chapter Five The Graphics Device Interface,Colors and Fonts 2 hours
Chapter Six The Modal Dialog and Windows Common Controls 2 hours
Chapter Seven The Modeless Dialog and Windows Common Dialogs 2 hours
Chapter Eight Using ActiveX Controls 1 hour
Chapter Nine Win32 Memory Management 1 hours
Chapter Ten Bitmaps 1 hour
Chapter Eleven Windows Message Processing and Multithreaded Programming 2 hours
Part III The Document-View Architecture 16 hours
Document-View Architecture,SDI and MDI Applications,Dialog-Based Application; Common Windows Programming Rules; Printing and Printing Preview; Context-sensitive Help; How to make DLL
Chapter Twelve Menus,Keyboard Accelerators,the Rich Edit Control and Property Sheets 2 hours
Chapter Thirteen Toolbars and Status Bars 1 hour
Chapter Fourteen A Reusable Frame Window Base Class 1 hour
Chapter Fifteen Separating the document from its view 1 hour
Chapter Sixteen Reading and Writing Documents ─ SDI Application 2 hours
Chapter Seventeen Reading and Writing Documents ─ MDI Application 2 hours
Chapter Eighteen Printing and Print Preview 2 hours
Chapter Nineteen Splitter Windows and Multiple Views 2 hour
Chapter Twenty Context-Sensitive Help 1 hour
Chapter Twenty-One Dynamic Link Library 1 hour
Chapter Twenty-Two MFC Dialog-Based Application 1 hour
Part IV Database Management 6 hours
Declarative Programming Language SQL; Advantages of Database Management; ODBC,DAO,ADO Architecture and How to use ODBC and Jet Engine in Visual C++ environment
Chapter Twenty-Three Database Management with MFC ODBC 3 hours
Chapter Twenty-Four Database Management with Microsoft DAO 3 hours
The Labs will be at the second week,the fifth week,the eighth week and the tenth week.