hello everyone, I would like to ask for some help with my assignement. My task is to make a program which is converting arabic numbers to roman numerals, but I can't use loops.
Gabriela_2 0 Newbie Poster
Recommended Answers
Jump to PostA couple of things:
When you're programming in c++ it is much easier to use
string
instead ofchar*
.
When you're joining strings(concatenating), since strings are immutable, a stringstream(<sstream>) is very handy. Otherwise, each time you join 2 strings you end up making a brand new string.As …
All 4 Replies
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
Gabriela_2 0 Newbie Poster
tinstaafl 1,176 Posting Maven
Ju57man -3 Newbie Poster
tinstaafl commented: Have you tested it? All my tests work fine. -3
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.