Function Question

This is a discussion on Function Question within the C++ Programming forums, part of the General Programming Boards category; Is there a function in the STL that will chekc to see if a variable is a number? I tried ...

  1. #1
    Unregistered
    Guest

    Question Function Question

    Is there a function in the STL that will chekc to see if a variable is a number? I tried isalpha() and isdigit() but they dont work like i thought they would.

  2. #2
    Registered User Dual-Catfish's Avatar
    Join Date
    Sep 2001
    Posts
    802
    How did you think they would work? What kind of implementation do you need? Can you post some code?

    Do a search on http://msdn.microsoft.com for isalpha() or isdigit()
    That should give you all the info you need.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. CreateThread() function question
    By chiefmonkey in forum C++ Programming
    Replies: 5
    Last Post: 05-15-2009, 08:52 AM
  2. Undefined Reference Compiling Error
    By AlakaAlaki in forum C++ Programming
    Replies: 1
    Last Post: 06-27-2008, 12:45 PM
  3. Bisection Method function value at root incorrect
    By mr_glass in forum C Programming
    Replies: 3
    Last Post: 11-10-2005, 09:10 AM
  4. Change this program so it uses function??
    By stormfront in forum C Programming
    Replies: 8
    Last Post: 11-01-2005, 08:55 AM
  5. Replies: 3
    Last Post: 03-04-2005, 02:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21