🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #934

Re: Character Graphics, g++, and curses

#934
From: Brian Joseph Cully
Date: Thu, 28 Mar 1996 16:33
20 lines
1172 bytes
In article <4if3bf$d33@panix.com>,
Arthur Cinader Jr <acinader@panix.com> wrote:
>I am planning on using curses to control the screen.
>While this should do the trick, it will not allow me
>to use cin and cout (I think!?!) for my user interface
>screen object.  Instead, I will need to use addstr()
>and getstr(). Not too bad.

you can use c{in,out}, but you shouldnt. screws up curses something
big.

alternately you could just overload cout and cin to use curses
routines, shouldnt be too difficult, and probably pretty cool.

btw, curses has c++ lib that it comes with, but ive never used it, so
i cant help you there.
-- 
Brian Cully	bjc@panix.com	| "You can tune a filesystem, but you can't
System Administrator		|  tune a fish"
PANIX Public Access Networks	|			-- tunefs(8)
Technical Details
Message-ID: <4jeevt$8mb@panix4.panix.com>
Path: arc1-ca.pugleaf.net!newsfeed.internetmci.com!panix!not-for-mail
References: <4if3bf$d33@panix.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!newsfeed.internetmci.com!panix!not-for-mail
From: bjc@panix.com (Brian Joseph Cully)
Newsgroups: gnu.g++.help,comp.lang.c++,panix.questions
Subject: Re: Character Graphics, g++, and curses
Date: 28 Mar 1996 11:33:01 -0500
Organization: Panix
Message-ID: <4jeevt$8mb@panix4.panix.com>
References: <4if3bf$d33@panix.com>
NNTP-Posting-Host: panix4.panix.com