[Lugge] Re: Equivalente del getchar Unix

  • From: Roberto A.Foglietta <fogliettar@xxxxxxxxxxxxxxxxxx>
  • To: lugge@xxxxxxxxxxxxx
  • Date: Mon, 8 Jul 2002 12:52:17 +0200

On Mon, 8 Jul 2002 12:11:37 +0200
"Ettore Geminiani" <software@xxxxxxxxxxxxxxxxxx> wrote:

> killst=getchar(); if(killst!='P' && killst!='p') return(0);
> 
> C'è nessuno che può aiutarmi
> Grazie
>  
> 

Sembri essere in buona compagnia, intendo che non sei l'unico che se ne e` 
accorto!
E` moltissimo tempo che non accetto input da tastiera direttamente da un prg 
quindi non ti so aiutare, moralmente: anch'io mi ricordavo che getachar 
tornasse comunque sempre.


EZ-IRC  --  10/21/1999  --  Alton Moore (www.alton-moore.net)
-------------------------------------------------------------

OVERVIEW:

[cut]

I've compiled this on my Linux system only.  I'm sure it will compile on
most versions of unix, but be aware that non-blocking keyboard input can
be a bit different from system to system.  I do intend to compile it for
DOS/Windows soon.



-- 
   ,__    ,_     ,___   .-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
   ||_)   ||\    ||_   /            GEA Automotive S.R.L.             |
   || \   ||¯\   ||¯       Software Research & Development Division   |
   ¯¯  ¯° ¯¯  ¯° ¯¯  °   tel.: +39 010 65966917                       |  
   Roberto A. Foglietta  com.: mailto:fogliettar@xxxxxxxxxxxxxxxxxx   |
 \ Linux & SW Architect  per.: http://digilander.iol.it/robang        |
  `-----------------------=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-'
<========----------
 Prima di scrivere in m-list per favore leggi il regolamento
 http://www.lugge.net/soci/manifesto.htm#list

 Archivio delle e-mail postate in lista
 //www.freelists.org/archives/lugge/

----------========>
 Incontri in sede: martedì 15:00-18:00 e sabato 9:30-12.30
 

Other related posts: