Computer Science Canada

Reading into a file

Author:  deltag [ Thu Oct 06, 2005 6:39 pm ]
Post subject:  Reading into a file

can someone tell me how to read in a file and then displaying it on the out put screen screen.
for ex: if i create a file crazy.txt which contains the word "hello"
how would i read in the file through turing and display the word "hello" on the output screen.

thnx,

Author:  StarGateSG-1 [ Thu Oct 06, 2005 8:32 pm ]
Post subject: 

search the help for eof.

Author:  [Gandalf] [ Fri Oct 07, 2005 2:44 pm ]
Post subject: 

Or look at one of the many tutorials on the site.

http://www.compsci.ca/v2/viewtopic.php?t=5


: