Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.apps > #164

C++ iosteams and ncurses

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 <ruben@mrbrklyn.com>
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 <iu8994$9ju$2@reader1.panix.com> (permalink)
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

Show key headers only | View raw


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

Back to comp.os.linux.development.apps | Previous | Next | Find similar


Thread

C++ iosteams and ncurses Ruben Safir <ruben@mrbrklyn.com> - 2011-06-26 21:45 +0000

csiph-web