cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
C++ and ncurses
C++ and ncurses
Dec 10, 2012 at 2:21pm UTC
evanc9606
(49)
I know that ncurses will work in C++ by just including the curses.h, but I am wondering if there is an object oriented version of ncurses or a curses like library that will accept c++ string objects so that I can ditch the old c-strings.
Last edited on
Dec 10, 2012 at 2:21pm UTC
Dec 10, 2012 at 2:31pm UTC
Cubbi
(4774)
ncurses have C++ bindings, see the demo they include in the source:
http://svn0.us-east.freebsd.org/base/vendor/ncurses/dist/c++/demo.cc
and the rest of that dist/c++ directory.
I don't think they deal with the string objects, though.
Dec 10, 2012 at 2:34pm UTC
evanc9606
(49)
Does a curses library or other terminal manipulating library that supports a more OOP approach even exist?
Dec 10, 2012 at 2:35pm UTC
evanc9606
(49)
I like those examples, I guess this is pretty much answered.
Topic archived. No new replies allowed.