main - W Window x; show( x ); s Window w( blue ); cout...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
// main.cpp / #include "window.h" #include <vector> # // pass by value to see extra destructor call / { cout << w.getColor() << endl; } void WindowExample() { Window::setDefaultColor( green );
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: W Window x; show( x ); s Window w( blue ); cout << w.getColor( ) << endl; c w.setDefaultColor( green ); w; } void main() { WindowExample(); W }...
View Full Document

This note was uploaded on 10/17/2010 for the course SCIS COP 4338 taught by Professor Kipirvine during the Spring '10 term at FIU.

Ask a homework question - tutors are online