HELP with TextFiles
Author |
Message |
omgwtfitsp
|
Posted: Tue Dec 16, 2008 7:53 pm Post subject: HELP with TextFiles |
|
|
Hey guys, I was wondering how you can output things that are in text files. For example, you have a text file(.txt) with the number 1 - 5 entered row by row.
Eg.
1
2
3
4
5
So that's in the text file. My question is, how do you code it in Turing so you can output certain things in your text file. I know it has something to do with arrays. Something.... Stream, assert, open, I have no clue! I can't seem to find a topic about this so I am asking.
EDIT: Basically, I'm trying to write a program that can read from text files. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
|
|
|
![](images/spacer.gif) |
andrew.
|
Posted: Wed Dec 17, 2008 6:00 pm Post subject: RE:HELP with TextFiles |
|
|
You don't even need to read the Turing Walkthrough, Just press F10 in Turing and search for stream or File. |
|
|
|
|
![](images/spacer.gif) |
S_Grimm
![](http://compsci.ca/v3/uploads/user_avatars/18926424384e6d86e5cf4d6.jpg)
|
Posted: Wed Dec 17, 2008 8:08 pm Post subject: RE:HELP with TextFiles |
|
|
or Just click the link Tony so kindly provided?
Failing that, how about you try to ASK your TEACHER? |
|
|
|
|
![](images/spacer.gif) |
|
|