* File
@ 2005-09-01 20:28 TC
2005-09-01 21:43 ` File Martin Dowie
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: TC @ 2005-09-01 20:28 UTC (permalink / raw)
How I can open a sequential file and read char to char?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: File
2005-09-01 20:28 File TC
@ 2005-09-01 21:43 ` Martin Dowie
2005-09-02 15:39 ` File Martin Krischik
2005-09-02 11:32 ` File Adrian Knoth
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: Martin Dowie @ 2005-09-01 21:43 UTC (permalink / raw)
TC wrote:
> How I can open a sequential file and read char to char?
You could have a look at RM A.8 Ada.Sequential_IO.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: File
2005-09-01 20:28 File TC
2005-09-01 21:43 ` File Martin Dowie
@ 2005-09-02 11:32 ` Adrian Knoth
2005-09-02 15:19 ` File Martin Krischik
2005-09-02 20:29 ` File Jeffrey R. Carter
3 siblings, 0 replies; 6+ messages in thread
From: Adrian Knoth @ 2005-09-02 11:32 UTC (permalink / raw)
TC <tecomeco@inwind.it> wrote:
> How I can open a sequential file and read char to char?
Please go to <http://adi.thur.de/index.php?show=adadocs> and
download some documentation. It contains a tutorial, the
reference manual and (especially for you) cpp2ada.html, a
file describing Ada from the perspective of a C++-programmer.
--
mail: adi@thur.de http://adi.thur.de PGP: v2-key via keyserver
Alter ist absolut unwichtig, solange Du kein K�se bist.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: File
2005-09-01 20:28 File TC
2005-09-01 21:43 ` File Martin Dowie
2005-09-02 11:32 ` File Adrian Knoth
@ 2005-09-02 15:19 ` Martin Krischik
2005-09-02 20:29 ` File Jeffrey R. Carter
3 siblings, 0 replies; 6+ messages in thread
From: Martin Krischik @ 2005-09-02 15:19 UTC (permalink / raw)
TC wrote:
> How I can open a sequential file and read char to char?
http://en.wikibooks.org/wiki/Ada_Programming/Input_Output
Martin
--
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: File
2005-09-01 21:43 ` File Martin Dowie
@ 2005-09-02 15:39 ` Martin Krischik
0 siblings, 0 replies; 6+ messages in thread
From: Martin Krischik @ 2005-09-02 15:39 UTC (permalink / raw)
Martin Dowie wrote:
>> How I can open a sequential file and read char to char?
>
> You could have a look at RM A.8 Ada.Sequential_IO.
If he only want to read characters then Direct_IO or Sequential_IO will do
just as needly.
He should really read:
http://en.wikibooks.org/wiki/Ada_Programming/Input_Output
and then make an informed decision based on what the rest of the program
should archive with the data read.
Martin
--
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: File
2005-09-01 20:28 File TC
` (2 preceding siblings ...)
2005-09-02 15:19 ` File Martin Krischik
@ 2005-09-02 20:29 ` Jeffrey R. Carter
3 siblings, 0 replies; 6+ messages in thread
From: Jeffrey R. Carter @ 2005-09-02 20:29 UTC (permalink / raw)
TC wrote:
> How I can open a sequential file and read char to char?
I suggest that you work through an on-line tutorial on Ada, or read a textbook.
The text for the course you seem to be taking would be a good place to start.
Doing your Ada homework in C and then trying to get us to translate it into Ada
piecemeal is unlikely to work, even if you end up with a working program. The
result will be unlike what you would create if you learned Ada.
I suggest visiting adapower.com or adaworld.com. There you will find numerous
on-line tutorials and textbooks. Once you have learned the basics of Ada, you
will find your task much easier, and your skills as a coder much improved. If
you still have specific questions, you will find us much more helpful.
--
Jeff Carter
"I fart in your general direction."
Monty Python & the Holy Grail
05
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-09-02 20:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-01 20:28 File TC
2005-09-01 21:43 ` File Martin Dowie
2005-09-02 15:39 ` File Martin Krischik
2005-09-02 11:32 ` File Adrian Knoth
2005-09-02 15:19 ` File Martin Krischik
2005-09-02 20:29 ` File Jeffrey R. Carter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox