The Model Code

Here is the interface of the Model Class. As you can see, it does bugger all. Why? Because this is a Template for a WinApp. The Model is where all the clever data manipulation, handling, storing etc should go, and in a program that is supposed to demonstrate how to get a Window on the screen, this part is, quite rightly, mostly absent.

class CTModel
{
public:
    CTModel();   // constructor
    ~CTModel();  // destructor
}; 



return to the WinApp Howto
Hosted by www.Geocities.ws

1