Declare  an array  named  winarr, consisting of 3 Window objects , where the first element  is an 80×20 window, the second a 10×10 window, and the third a 133×40 window.

LANGUAGE: C++

CHALLENGE:

Assume  a class  Window with a constructor  that accepts two integer  arguments : width and height (in that order). Declare  an array  named  winarr, consisting of 3 Window objects , where the first element  is an 80×20 window, the second a 10×10 window, and the third a 133×40 window.

SOLUTION:

The Bad News: The content you are trying to access is only available to members.

The Good News: You too can be a member, simply Click Here.

Already a member?

Posted in ,