Visual C++

CloudLabs

Projects

Assignment

24x7 Support

Lifetime Access

.

Course Overview

This intensive course teaches C++ and Windows programming using Visual C++ and the Microsoft Foundation Class Library (MFC). The course consists of two modules. In the first module object oriented concepts are introduced. The Visual C++ development environment is demonstrated. The C++ class construct is introduced and its key features elaborated step-by-step, providing full implementation of abstract data types. C++ memory management is discussed. Function and operator overloading and the use of references are covered. The scope and access control mechanisms of C++ are described. Inheritance is introduced. The use of virtual functions to implement polymorphism is discussed

At the end of the training, participants will be able to:

Pre-requisite

A background of programming in another language such as C, Java, or C#.

Duarion

5 days

Course Outline

  1. Objects
  2. Information Hiding and Encapsulation
  3. Abstract Data Types
  4. Methods and Messages
  5. Classes
  6. Class Inheritance
  7. Polymorphism
  1. Data Encapsulation in C and C++
  2. Definition of C++ Classes
  3. Member Data and Functions this Pointer
  4. Abstract Data Types
  5. Organizing Code for Classes
  1. Function Prototypes and Type Checking
  2. Conversion of Parameters
  3. Default Arguments
  4. Inline Functions
  5. Function Overloading
  1. Constructors and Initializations
  2. Object Creation and Destruction
  3. Destructors
  4. Multiple Constructors in a Class
  5. Hidden Constructors
  1. Static, Automatic and Heap Memory
  2. New and Delete
  3. Handling Memory Allocation Errors
  4. Hiding Details of Memory Management in a Class
  5. Implementing a Dynamic String Class
  1. Call by Value
  2. Reference Declarations
  3. Reference Arguments
  4. Copy Constructor
  5. Constant Arguments and Functions
  1. Operator Overloading
  2. Semantics of Assignment
  3. Initialization vs. Assignment
  4. Overloading Assignment
  5. Type Conversions
  1. Scope in C++
  2. Friend Functions
  3. Const and Enumeration Types
  4. Static Members
  1. Inheritance for Modeling and Reuse
  2. Class Derivation
  3. Access Control
  4. Base Class Initialization
  5. Composition
  6. Initializing Class Type Members
  1. Virtual Functions and Dynamic Binding
  2. Polymorphism in C++
  3. Pointer Conversion
  4. Virtual Destructors
  5. Abstract Classes and Pure Virtual Functions
  1. Visual C++ Development Environment
  2. Visual Studio
  3. Managing Projects
  4. Compiling and Linking
  5. Debugging
  1. Structure of Windows Programs
  2. Application Frameworks
  3. Class Hierarchy of the MFC Library
  4. CWinApp and CFrameWnd Classes
  5. Event-Driven Programming
  6. Windows Messages
  7. Message Maps
  1. Mouse
  2. Using ClassWizard
  3. Using Spy++
  4. Invalidating the Client Area
  5. Keyboard
  1. Device Contexts
  2. GDI Object Creation and Cleanup
  3. Colors
  4. Pens and Brushes
  5. Drawing with Text
  1. MFC Encapsulation of Windows
  2. Window Creation and Destruction
  3. Focus and Activation
  4. Sending and Posting Messages
  5. Overlapped, Popup and Child Windows
  6. Child Windows and Owned Windows
  1. Using AppWizard
  2. Document and View Classes
  3. Document Templates
  4. SDI and MDI Applications
  5. Document/View Program Structure
  6. Synchronizing Document and Views
  7. Making a Document Persistent
  1. Resources in Windows Programs
  2. Developer Studio Resource Editors
  3. String Tables
  4. Menus and Command Messages
  5. Update Command UI Messages
  6. Keyboard Accelerators
  1. Modal and Modeless Dialog Boxes
  2. Resources and Controls
  3. Controls as Child Windows
  4. CDialog Class and Programming a Modal Dialog
  5. Designing Dialogs with Dialog Editor
  6. Using ClassWizard
  7. Dialog Data Transfer
  1. Command Messages
  2. MFC Control Bar Classes
  3. Toolbars
  4. Idle Time Processing
  5. Tooltips
  6. Status Bars

Reviews