and want to store the first line of letters in an array and then compare it to the letters next to the ID numbers, how would I go about assigning these characters to their own arrays?
So far I've managed to get the file to read onto the screen but can't get the info into separate arrays.
int main() {
string line;
ifstream myfile ("file.txt");
if (myfile.is_open())
{
while ( getline (myfile,line) )
{
cout<<line<<endl;