From: tmoran@bix.com
Subject: Re: File I/O
Date: Fri, 29 Sep 2000 03:15:39 GMT
Date: 2000-09-29T03:15:39+00:00 [thread overview]
Message-ID: <vPTA5.261527$i5.3600447@news1.frmt1.sfba.home.com> (raw)
In-Reply-To: MPG.143d9e82bf923756989688@news.prodigy.net
>How can I read a file and write to a file in Ada?
What kind of file?
For text files, consisting of variable length lines separated by CR
or LF, use Ada.Text_IO
For files consisting of a homogenous series of binary records,
look at Ada.Sequential_IO
For files consisting of a homogenous set of binary records, randomly
accessible, look at Ada.Direct_IO
For files with heterogenous binary stuff, look at Ada.Streams.Stream_IO
prev parent reply other threads:[~2000-09-29 3:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-28 0:00 File I/O stiletto
2000-09-29 0:00 ` Preben Randhol
2000-09-29 0:00 ` Mathias Dolidon
2000-09-29 3:15 ` tmoran [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox