#include "CursWin.h" int main(){ CursWin outw(0,0,20,40); // create a window called outw outw << "Hello, world!" << cendl; // write to outw outw << Cmove(10,10) << "X" << cendl; // write to a location in outw int x; outw >> x; // keeps the program from immedately ending }