[gnu.g++.help] Using cuses in g++

lulu@ucrmath.ucr.edu (david lu) (02/28/91)

Is there any way I can use System V curses in g++?  When I tried

% g++ -o test -I/usr/5include -L/usr/5lib test.c -lcurses -ltermcap

I get

/usr/local/lib/gcc-include/sys/termios.h:44: warning: parameter name starts with a digit in #define
/usr/local/lib/gcc-include/sys/termios.h:44: badly punctuated parameter list in #define

How can I keep g++ away from gcc-include and go to /usr/5include
instead?  Also, will the cc-compiled libraries work in g++?

Is there a man page on g++?

I'm a newcomer to C++, and I'm trying to use it with curses.
Thanks for any help you can provide!

					- David

---==lulu@ucrmath==---  just another bewildered college undergraduate.
David T Lu, Amateur Thinker: lulu@ucrmath.ucr.edu, {ucsd, uci}!ucrmath!lulu
"I seem to be having tremendous difficulty with my lifestyle."
					- Arthur Dent, Hitchhiker's