How do I insert a textfile of stings, separated by carrige returns into an string array, or an array of pointers. I have been scratching my head over this for a while now and eventually have to turn for help. Here is as far as I have got, although I now know it won't work. ifstream fpi("names.dat"); char *name[5]; if (!fpi) { cout << "Error opening file\n"; exit(0); } for (int i=0; i<5; ++i) { fpi >> *(name+i); } for (int j=0; j<5; ++j) { cout << *(name+j) << endl; } fpi.close(); As you can see, i'm still pretty new to programming. Thanks, Ged. ----------------------------------------- Email provided by http://www.ntlhome.com/