Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Reading into a file
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
deltag




PostPosted: 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,
Sponsor
Sponsor
Sponsor
sponsor
StarGateSG-1




PostPosted: Thu Oct 06, 2005 8:32 pm   Post subject: (No subject)

search the help for eof.
[Gandalf]




PostPosted: Fri Oct 07, 2005 2:44 pm   Post subject: (No subject)

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

http://www.compsci.ca/v2/viewtopic.php?t=5
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: