Reading a file into an array.

I'm new to C++ and I have to read a file with test numbers into a single dimensional array. I've tried searching for it, but I only need the code that allows me to input the numbers into the array.
Problem solved, I found it.
Topic archived. No new replies allowed.