Hello all. I am trying to write a program that calculates area and circumference of a circle from the radius. There is a text file open within the program and the 2 radii I need to read are on the first line like so "radius1 radius2". I just can't figure out how to read those numbers and store them as radius1 and radius2 in the program. Any help would be greatly appreciated.
Thanks for the quick responses, much appreciated. Though I don't believe I am allowed to use vectors (of course, I don't even know how to use them yet).