Hi
I have a question how can you store data.
for example i have a txt document stored this data
Jones Jr, brown K.
johnson, James S.
Smith, Mark J.
and i want to divide it to last name and first middle initial
like i want to store it to
string Last_name, First_M_Name;
ifstream ins;
is their a command to copy it to store it to Last_Name and First_M_Name
because i did just
ins>>Lastname>>First_M_Name; \\ i have conflicts when a last name has a Jr.
and if i did getline it will copy the whole name.
so my question is is their a way to copy it in 2 different strings?