wondering if anyone can help. i am trying to write a program that searches a file and adds every word to an array. i want to make it so that the user can type in the name of the file from the console. pretty much like this......
cout << "enter name";
cin >> name;
anyone know how this can be done?