ok i am making a game and i wont to save it. like with file inout and output so when the program ends it will be able to use the data.
so what i was thinking hay lets have it make a .txt file and have it save the numbers ther.
but how do i get is to read specific lines of the file and output only that here is a kind of example of what i wanna do:
the file says this:
Code:
50
30
60
hello
ok that was me example text file now how would i get it to output from that file somehting like this:
Code:
30
or
Code:
hello
like that with just and output of one line.
for the numbers i wont to be able to store and assign them.
ps thanx in advance for however can help me.