RE: A newbie question about get()

new topic     » goto parent     » topic index » view thread      » older message » newer message

> If you simply want to get a string sequence (not an atom) from the keyboard,
> use
> gets().

And for the screen, to avoid it scrolling for each input, take a peek at '\r' 
instead of '\n'. Do a \r, clean the line out with a puts(), or a real clearline,
and
then wait for input again. It looks to the user like you just erased their
input.

Kat

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu