Ok, the problem is to read from file and insert into an array? This code reads from a file with words seperated by space.
Here goes:

#include <fstream.h>
#include <iostream.h>
#include...