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


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

C++ iosteams and ncurses

From Ruben Safir <ruben@mrbrklyn.com>
Newsgroups comp.os.linux.development.apps
Subject C++ iosteams and ncurses
Date 2011-06-26 21:45 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <iu8994$9ju$2@reader1.panix.com> (permalink)

Show all headers | 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