Re: off topic: How to read input from keyboard by the Std. C?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 10 Dec 2004, Vinicius wrote:

> Hello,
>
> how to read input from keyboard (through a console) by the standard
> language C, please? I suppose an experienced Unix/Linux programmer has
> the answer.
>
> Excuse to post here, but I really need a tip about this question.
>
> TIA, Vinicius.

For line-oriented plain text interaction, just read from stdin and write
to stdout or stderr.  For character-level cursor control, use the ncurses
library (man ncurses).

-- 
		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux