how do i read a text file's content into an array?
i want it to work like this:
the file contains the word "hello"
the code would read the file and put the text in an array called text. text[0] would be 'h' text[1] would be 'e' and so on....
how do i read a text file's content into an array?
i want it to work like this:
the file contains the word "hello"
the code would read the file and put the text in an array called text. text[0] would be 'h' text[1] would be 'e' and so on....