Replace numbers with words?
-
My prof. assigned it too me. I know this crap is hard. The first 2 assignment was a piece of cake, but the third I'm really stuck on. he never showed me how to convert number to words before.
MoboTech wrote:
I know this crap is hard.
No it's not. And that's not an insult - it really isn't. You have a classic assignment - it shows up in the first couple of weeks in hundreds of textbooks and courses based on them. And you've been assigned it to teach you something. Of course you can just pull the answers off of a web site, but then what have you learned? And so i repeat, it's not hard. But if you don't spend the time learning from your course work, you'll find the hard tasks impossible when eventually you do encounter them. Just a fair warning...
----
I don't care what you consider witty, but at least I do not blather on posting nonsense like Jim Crafton.
-- Stringcheese, humbled by Crafton's ability to string together multiple sentences
-
If you look at my above post, I'm actually thanking the people that helped me. I've posted two threads here today, each has a post by toxcct and they were rude comments. But thanks any ways.
But he has done a lot of good works to help the beginners come up here. Even I'm one of them. So if you don't know someone completely, just don't comment seeing a few strong messages from them. Yeah he needs to be tough! expects so much of disciplines in the forum. Without him, I'm sure the forum would look a little degraded. He has certainly helped to filter out a lot of stupid questions. Getting his strong comment, one would be afraid to post a similar one next time. He wants the problem to be explained properly,but that doesn't mean that he is required to answer every question that he had asked to be proper. That would atleast help someone to understand the problem better and give a definite answer to it. So either ways he's helping the forum to keep a neat line. It's very unfortunate that you've just joined the forum and talking so rude against a senior member of the same. Anyway I wish you'd get the point and have a nice stay. Just f*ck off.:| -- modified at 10:45 Wednesday 26th September, 2007
Jemmy : Deadline? Pfft, a real programmer eats deadlines for breakfast. :P Mark: I thought real programmers ignored deadlines :sigh: Best wishes to Rexx[^]
-
So what people say is actually true... French are asses! Your no help in this forum. I've got so many great helps from others and I thank you, but yours is below helpful. toxcct should be demoted. :laugh:
OMG! I missed to read this.Well then, you should ignore my previous message. That was meant for someone who shows respect for others. You need a stronger treatment. , Ok, read my previous message again.
Jemmy : Deadline? Pfft, a real programmer eats deadlines for breakfast. :P Mark: I thought real programmers ignored deadlines :sigh: Best wishes to Rexx[^]
-
I'm beginning C++. When I put a year, it calculate a month and day (ex. 5 23) for a particular holiday. How do I convert these numbers into words. (ex. March Twenty Three) Am I suppose to use individual functions or if-else statement? How is it done? Thanks.
For months, do what NS17 mentioned. For the numbers, you can use this function I wrote many moons ago.... http://www.codeproject.com/string/numword.asp[^]
Jeremy Falcon Oatmeal, It's What's for Dinner.[^]
-
So what people say is actually true... French are asses! Your no help in this forum. I've got so many great helps from others and I thank you, but yours is below helpful. toxcct should be demoted. :laugh:
MoboTech wrote:
So what people say is actually true... French are asses! Your no help in this forum. I've got so many great helps from others and I thank you, but yours is below helpful. toxcct should be demoted.
Oh, I'm sure you'll be getting a lot of help here in the future. :rolleyes: Really, don't get pissed off if we don't do your homework for you. I only posted my link because it was already there (you could try doing a search you know) and took me like two seconds. I wouldn't have gone out of my way for your homework either. And here's something funny, try COMMUNICATING with your professor about it. Maybe he'll give you pointers. I know it's crazy, but sometimes using your mouth for good works too.
Jeremy Falcon Oatmeal, It's What's for Dinner.[^]
-
MoboTech wrote:
I know this crap is hard.
No it's not. And that's not an insult - it really isn't. You have a classic assignment - it shows up in the first couple of weeks in hundreds of textbooks and courses based on them. And you've been assigned it to teach you something. Of course you can just pull the answers off of a web site, but then what have you learned? And so i repeat, it's not hard. But if you don't spend the time learning from your course work, you'll find the hard tasks impossible when eventually you do encounter them. Just a fair warning...
----
I don't care what you consider witty, but at least I do not blather on posting nonsense like Jim Crafton.
-- Stringcheese, humbled by Crafton's ability to string together multiple sentences
Shog9 wrote:
You have a classic assignment - it shows up in the first couple of weeks in hundreds of textbooks and courses based on them.
Except the solutions that show up in beginner texts usually suck and don't scale well. *cough* *cough* (plugging my poor, lonely article ;)).
Jeremy Falcon Oatmeal, It's What's for Dinner.[^]
-
Shog9 wrote:
You have a classic assignment - it shows up in the first couple of weeks in hundreds of textbooks and courses based on them.
Except the solutions that show up in beginner texts usually suck and don't scale well. *cough* *cough* (plugging my poor, lonely article ;)).
Jeremy Falcon Oatmeal, It's What's for Dinner.[^]
-
Shog9 wrote:
You have a classic assignment - it shows up in the first couple of weeks in hundreds of textbooks and courses based on them.
Except the solutions that show up in beginner texts usually suck and don't scale well. *cough* *cough* (plugging my poor, lonely article ;)).
Jeremy Falcon Oatmeal, It's What's for Dinner.[^]
Jeremy Falcon wrote:
plugging my poor, lonely article
at least you have you poor lonely article, I have a mention in yours, and that is it. After that I am just chopped liver. ;)
_________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
-
Jeremy Falcon wrote:
plugging my poor, lonely article
at least you have you poor lonely article, I have a mention in yours, and that is it. After that I am just chopped liver. ;)
_________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
El Corazon wrote:
After that I am just chopped liver.
Chopped liver with an honorable mention though. Wear that hat proud man. :-D
Jeremy Falcon Oatmeal, It's What's for Dinner.[^]
-
El Corazon wrote:
After that I am just chopped liver.
Chopped liver with an honorable mention though. Wear that hat proud man. :-D
Jeremy Falcon Oatmeal, It's What's for Dinner.[^]
Jeremy Falcon wrote:
Chopped liver with an honorable mention though.
okay, chopped liver with the occasional good idea. :rolleyes:
_________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)