Simple decimal-to-Roman Numerals in C++

1
2
// DecimalToRoman.cpp : convert decimal number to Roman Numeral
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Just trying to find the simplest way to generate roman numerals. Is there a "simpler" way ?

sample output:
===========

C:\Users\Judd>E:\CPP_Projects\DecimalToRoman\Release\DecimalToRoman.exe 1984
MCMLXXXIV

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.