Hi all!!!
simple question , i have included a txt file in my program which holds names and numbers like this
Alan 23
Bob 50
Joan 35
i want to know if it is possible to do a search in that file by the name and return the corresponding number to the screen.
example;
cin>> name;
if(name correct )
{cout<< number;
}
thank you all!!