I am trying to load in a list of words into my program using a dynamic array and the string class....for some reason, all the tutorials are using char which i have no idea how to adapt to my code....
string *strWord;
int Position = 0;
string strHolding;
//for loading files
ifstream fp_in; // declarations of streams fp_in and fp_out
ofstream fp_out;
fp_in.open("WordList.WORD", ios::in); // open the streams
do {
strWord = new string[Position];
fp_in >> strWord[Position];
Position =+ 1;
}while (Position < 47);
fp_in.close(); // close the streams