Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: Eike Lange
Subject: Stdin & Stdout
Date: 17 Feb 2004, 09:57:39
Hello!
On Mon, Feb 16, 2004 at 11:52:57 -0800, Daniel Rudy wrote:
> I'm trying to build a program under Unix, and I'm trying to use stdin
> and stdout to do this, but it keeps telling me that the symbols are not
> defined.
Try using:
uses GPC;
in your program.
> I've tried stdin, stdout, standardinput, standardoutput, and used
> filenames such as 'stdin' and 'stdout'. How does one transfer
> information between stdin and stdout on unix systems through GPC?
program Foo (input, output);
{...}
begin
Reset (input);
ReWrite (output);
while not EOF (input) do
begin
ReadLn (input, LineOfText);
WriteLn (output, LineOfText)
end;
{ ... }
end.
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
| Author | Subject | Date |
|---|---|---|
| Frank Heckenbach | Stdin & Stdout | 17 Feb 2004, 14:48:03 |
| Author | Subject | Date |
|---|---|---|
| Daniel Rudy | Stdin & Stdout | 16 Feb 2004, 23:52:57 |
Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.
Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.
This page was created by Crystal 0.999 (Linux 2.4.27/i686).