Thread: palendrome

  1. #1
    Mmm. Purple.
    Join Date
    May 2002


    i need to see if a number is a pallendrome (2112), i see the easiest way of doing this being converting into a string, which i have no idea on how to do.
    so unless any1 has a palendrome bool function, how do i turn it into a string?

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Start by reading the FAQ
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    Registered User
    Join Date
    Nov 2002
    FAQ has int to string conversion.

    edit: Hammer beat me.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple Palendrome Problem [newbie to C]
    By colinuk in forum C Programming
    Replies: 16
    Last Post: 11-17-2004, 09:32 PM