Reading file ,passing contents to array accessing contents
Hi,
I want to read a file ,which has some data as its contents. I have managed to read the file but not explicit values.
I want to store each data in an array (leaving out spaces or other characters #$?//) and access these contents and assign them later on in my program to some variables.
Any ideas?
I have a file with values 1 2 3 4 5 and so on. How can I read them, store them and then access them ?
It might be a no-brainer but i'm stuck.
cheers
robin 0Posted Nov 27, 2004, 7:26 AM
robin 0Posted Nov 27, 2004, 7:25 AM
cockneyPosted Nov 24, 2004, 7:24 AM
robin 0Posted Nov 23, 2004, 4:02 PM
cockneyPosted Nov 23, 2004, 7:45 AM
cockneyPosted Nov 23, 2004, 7:40 AM
robin 0Posted Nov 23, 2004, 5:42 AM