|
-
Jan 27th, 2003, 01:24 AM
#1
Thread Starter
Hyperactive Member
Console Number Problem
Hello all!
How would I reverse a number that is given by the user?? I have no idea how to do this! I'm using a regular Console App and also using C not C++
can somebody explain to me the steps I need to take?
thanks!
-Emo
-=VB6 Enterprise Edition=-
-=VC++6Enterprise Edition=-
«¤E³m°O²™¤»
-
Jan 27th, 2003, 02:36 AM
#2
Lively Member
-
Jan 27th, 2003, 02:58 AM
#3
Thread Starter
Hyperactive Member
Thanks!
though, I didnt understant what you mean by teh 4th step...
-Emo
-=VB6 Enterprise Edition=-
-=VC++6Enterprise Edition=-
«¤E³m°O²™¤»
-
Jan 27th, 2003, 04:39 AM
#4
Monday Morning Lunatic
atoi converts a string to an integer. I have a nagging feeling it's not a standard function though...that could be itoa....perhaps.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 27th, 2003, 11:51 AM
#5
Nope, atoi is standard, itoa is not.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|