Hi

If I have a data file with numbers that I want to store in an array. What C++ finction can I use?

ie.

Data_file

# velocity
3
4.5
6.1
-3
...N

and i want to store these in array x[N]

Code:
int main(){

double x[N];

}
Thanks

Shuo