I have an irregular list where the data look like this:
[Number] [Number]
[Number] [Number] [Number]
[Number] [Number] [Number]
[Number] [Number] [Number]
[Number] [Number] [Number]
[...]
Notice that some lines have 2 numbers, some have 3 numbers. Currently I have my input code look like these
inputFile >> a >> b >> c;
However, I want to it ignore lines with only 2 numbers, is there a simple work around for this? (preferably without using string manipulations and conversions)
Thanks