The following C++ Code is roman numbers converter. Note that the following code was written in February 2006 my first programming course, so I don’t recommend using such legacy code was written with no obvious knowledge of String manipulation and only based on Math modulus techniques for extracting digit by digit. Introduction The numeral system of ancient Rome, or Roman numerals, uses combinations of letters from the Latin alphabet to signify values. The numbers 1 to 10 can be expressed in Roman numerals as: I, II, III, IV, V, VI, VII, VIII, IX, and X. The Roman numeral system is decimal but not directly positional and does not include a zero. It is a cousin of the Etruscan numerals. Use of Roman numerals persisted after the decline of the Roman Empire. In the 14th century, Roman numerals were largely abandoned in favor of Arabic numerals; however, they are still used to this day in minor applications.
The following Java code gist is for reading text files into lists