Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!lll-winken!das!doug From: doug@das (Douglas S. Miller) Newsgroups: comp.lang.c++ Subject: Help with CursesWindows.h in C++ Message-ID: <34934@lll-winken.LLNL.GOV> Date: 4 Oct 89 21:13:49 GMT Sender: usenet@lll-winken.LLNL.GOV Reply-To: doug@das (Douglas S. Miller) Distribution: usa Organization: Dept. of Applied Science, UC Davis at LLNL Lines: 26 Keywords: I am new to C++, so there is probably some obvious reason why what I am doing is wrong but I don't know what it is. I am trying to use C++ for a simple application that needs to move the cursor around the way vi and many games do. I don't know how to initialize the window correctly (I think). The little bit of test code below demonstrates what I thought was a correct way to initialize the window and perform a simple 'clear screen' operation. #include main() { CursesWindow w(stdscr); w.clear(); w.refresh(); } Does anyone out there have a bit of C++ code that uses CursesWindows.h that they can send me, so that I can learn from their example? Thanks, Doug Miller doug@das.llnl.gov or ...!cs.utexas.edu!lll-crg!das!doug "If two men are fighting and the wife of one intervenes to help her husband by grabbing the testicles of the other man, her hand shall be cut off without pity." Deuteronomy 25:11