Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!news.glorb.com!news-out.readnews.com!transit3.readnews.com!panix!not-for-mail From: Ruben Safir Newsgroups: comp.os.linux.development.apps Subject: C++ iosteams and ncurses Date: Sun, 26 Jun 2011 21:45:08 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 18 Message-ID: NNTP-Posting-Host: www2.mrbrklyn.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: reader1.panix.com 1309124708 9854 96.57.23.82 (26 Jun 2011 21:45:08 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Sun, 26 Jun 2011 21:45:08 +0000 (UTC) User-Agent: Pan/0.133 (House of Butterflies) Xref: x330-a1.tempe.blueboxinc.net comp.os.linux.development.apps:164 he ncurses library has C based printing functions that look similar to this mvprintw(24, 0, "Charcter pressed is = %3d Hopefully it can be printed as '%c'", c, c); and I have a quiz, flashcard program that handles i/o to files with basic_iostreams in the classes that look like this class myclass (ostream os = cout). I figured I'd be able to hook in different streams for later development. But now I'm not sure how to go about it. Any tips or ideas? I have to create another stream class of somekind Ruben