Thread: Library Function to verify Int

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    20

    Library Function to verify Int

    I have a function that will only work with integers. Is there a library function that will check user input to make sure that the data entered is integers.

    [EDIT]
    Currently I am using a bool function that uses 'isalpha()' returning true and false and I wondering if there is something simpler
    [\EDIT]


    Thanks.
    Last edited by Mr_roboto; 09-29-2005 at 01:29 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Code review
    By Elysia in forum C++ Programming
    Replies: 71
    Last Post: 05-13-2008, 09:42 PM
  2. Replies: 1
    Last Post: 10-27-2006, 01:21 PM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM
  5. How do you search & sort an array?
    By sketchit in forum C Programming
    Replies: 30
    Last Post: 11-03-2001, 05:26 PM