From: "Centaury" <utopian@tm.net.my>
Subject: How to detect new line from std_in?
Date: 1998/04/15
Date: 1998-04-15T00:00:00+00:00 [thread overview]
Message-ID: <6h2j74$2se$1@news.tm.net.my> (raw)
I'm writing a program that reads text from std_in whether by keyboard entry
or file redirection.
If I have something that looks like this;
harlooo and welcome to
the greatest circus
my program would only recognise that there is 6 words, instead of 7. This is
because to and the are joined together and become tothe as the data in my
linked list.
What is the keyword to detect new line (or is it something else??)
Please reply
Regards,
Centaury
next reply other threads:[~1998-04-15 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-15 0:00 Centaury [this message]
1998-04-16 0:00 ` How to detect new line from std_in? Stephen Leake
-- strict thread matches above, loose matches on Subject: below --
1998-04-17 0:00 Marin David Condic, 561.796.8997, M/S 731-96
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox