Assume a class Window with accessor method getWidth that accepts no parameters and returns an integer.

LANGUAGE: C++

CHALLENGE:

Assume a class Window with accessor method getWidth that accepts no parameters and returns an integer.
Assume further an array of 3 Window elements named winarr, has been declared and initialized.
Write a sequence of statements that prints out the width of the widest window in the array.

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 ,