Any idea if these values will be on their own line?
They at least need to be separated by spaces for the program to recognize them as separate entities, so read them in as strings, check for the existence of a numbers and a decimal point (for the FP number).
If it has numbers and the string will not contain ANY numbers, you then check for the decimal point. No decimal point: integer.
yeah they are seperated by spaces and has a new line character after 20 characters. how do i check for the existence of numbers? Do i use typeid or something else?