> Need help with this c++ program?

Need help with this c++ program?

Posted at: 2014-12-18 
im trying to write a program that uses function, and it basically opens a file that contain several lines of roman numerals and integers and then convert them to either roman numeral or integer, depending on which line it grabs.so i have two functions one for roman to int conversion and the other for int to roman conversion. the problem is im using getline to grab each line in the file and i dont know how to write the if statement to read the line and decide if its a number or a string. any idea to get me started?