A
ASSASSIN
i need a program that convert a number form to written one
help me please and thank you
help me please and thank you
ASSASSIN said:i need a program that convert a number form to written one
help me please and thank you
ASSASSIN said:i need a program that convert a number form to written one
help me please and thank you
i need a program that convert a number form to written one
help me please and thank you
ASSASSIN said:i need a program that convert a number form to written one
Jeff said:<jk> (1) Find a pencil... </jk>
You may find standard string-streams useful. Below is an example of how
to use a std:stringstream to convert a primitive int to a standard
string.
If this (or any other solution on this thread) appeals to you, please
post back and ask how to make the same code work for many different
numeric types (i.e. not just int). Hopefully, you will get a nice
introduction to both templates and function overloads.
Thomas said:Why not just read the FAQ instead, where exactly this template stuff is
written down, and ask when something is unclear?
http://www.parashift.com/c++-faq-lite/misc-technical-issues.html
You may find standard string-streams useful. Below is an
example of how to use a std:stringstream to convert a
primitive int to a standard string.
ASSASSIN said:yes James ...my frinde . thats exactly what I mean , can you lend me a
hand !!!!!
James said:I just wonder if he wasn't looking for something to convert an
integer value of 1234 to a string like "one thousand two hundred
thirty four". (I wrote one once which worked for English,
French and German. Handling i18n issues for this was, shall we
say, quite amusing.)
yes James ...my frinde . thats exactly what I mean , can you
lend me a hand !!!!!
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.