I'm 28 (oops, 29 now) and I want to be C literate by the time I'm 30. That's two (one) years to become competent at something I've been wanting to do nearly my whole life. No pressure.
Friday, February 25, 2011
Integer palindrome detector
This was pretty easy...but I feel like maybe there is a more graceful way of reversing an integer without getting strings involved. All said and done I'm glad to get into some string manipulation functions.
I did this on my PC, my other code for EP#4 is on my netbook. Maybe before bed I'll copy/paste this function into my netbook's code and finish this problem off.
Labels:
C,
Project Euler
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment