🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #6805

función leer

#6805
From: Tuareg
Date: Sun, 18 May 2003 21:54
11 lines
1189 bytes
Hola,

   Quiero hacer una funci�n que vaya leyendo palabras por teclado
hasta entrar final, ir� entrando palabras y pulsando  intro
simult�neamente. Todas las palabras iran a parar a una pipe para
ejecutar unos filtros. -C�mo puedo hacer el bucle, porque tendr� que
comparar la palabra entrada con "fin\n", no estoy seguro �?�?

-  Con Scanf o con Read ?�?�

Gracias , un saludo.
Technical Details
Message-ID: <e2eee5e.0305181354.5648c48b@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,6217607b5fc9d798,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-05-18 14:54:04 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: duatlo@hotmail.com (Tuareg)
Newsgroups: es.comp.os.linux.programacion
Subject: función leer
Date: 18 May 2003 14:54:04 -0700
Organization: http://groups.google.com/
Lines: 11
Message-ID: <e2eee5e.0305181354.5648c48b@posting.google.com>
NNTP-Posting-Host: 80.58.33.46
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1053294844 30352 127.0.0.1 (18 May 2003 21:54:04 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 18 May 2003 21:54:04 GMT