Please clarify that you mean Microsoft Windows ? Or an application window ?
Anyway to run "gcc" in windows use this program --
*www.delorie.com/djgpp/
And, C++ is C++ is C++, it is OS Independant. It will run the same on linux, windows, OS-Foo, OS-Bar, as long as you stick to
Standard C++. If you use linux specific extensions, or windows specific ones, ofcourse you become bound to the respective OS.
Rohan.