Get numbers from a .txt file

I have to get numbers from a .txt file and put into the array. How can i do it? Thanks
If I can find, I don't ask bro...
Topic archived. No new replies allowed.