LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-07-2004, 11:10 PM   #1
irfanhab
Member
 
Registered: Jan 2004
Location: Pakistan
Distribution: OpenSuse 10.2, Slackware 11, Solaris 10
Posts: 415

Rep: Reputation: 34
curses and iostream


Hi all,

Can the curses and ncurses headers only be used along with the
" printw, wprintw, mvprintw, mvwprintw, vwprintw, vw_printw
- print formatted output in curses windows"

Can't you use cout along with getch() and other curses functions.

So far c++ programs to compile with the -lncurses appended when compiling, but I see no output where I should see one with cout, rather printw works fine.
 
Old 05-08-2004, 05:59 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Standard input/output C/C++ functions doesn't work well with ncurses. Ncurses functions should be used instead.
 
Old 05-10-2004, 09:56 AM   #3
irfanhab
Member
 
Registered: Jan 2004
Location: Pakistan
Distribution: OpenSuse 10.2, Slackware 11, Solaris 10
Posts: 415

Original Poster
Rep: Reputation: 34
---Ncurses functions should be used instead.

is Ncurses different from ncurses?
 
Old 05-10-2004, 10:14 AM   #4
kooch
Member
 
Registered: Mar 2004
Location: Upstate NY
Distribution: Slackware/YDL
Posts: 77

Rep: Reputation: 15
Nope. English dictates that you must capitalize the first letter of the first word of a sentence. A large majority of people leave technical terms in the case they are normally printed in for clarity.(bad sentence eh?)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
g++ compiler and iostream.h BACTRATE Mandriva 5 07-26-2009 04:12 AM
iostream not found krsnachaitanya Linux - Software 4 02-10-2005 06:47 AM
where is iostream invisibleghost Programming 2 10-24-2004 01:30 PM
iostream, or stdio? jpc82 Programming 7 11-05-2003 08:10 PM
What's up with iostream.h, is it obsolete? linuxlah Programming 4 02-04-2003 05:29 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration