I'm trying to read in a binary relation from a user that comes in the format of {(1,2),(1,4),(2,3),(2,5)}
I can't figure out how to only grab the integer values. I can assume that there will be no errors in the input. Also, I can't use the STL.
Any help would be great!