Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: psychoarcher
  • Order by date
  1. psychoarcher

    test for non-integer value

    But this just checks the input.I want an integer or other kinds of numeric values but not a string. Is there a method that can use the input as numeric values at the same time it can be checked? ************************************** I love tek-tips.com very,very,very,very,... much!
  2. psychoarcher

    test for non-integer value

    I have taken it into consideration.But it seems not easy to implement.I think this problem is really difficult to solve.
  3. psychoarcher

    test for non-integer value

    Hi, cin.fail() seems not work. maybe sizeof can be used depending on different sizes of fundamental types.But it can not separate int from long or float.

Part and Inventory Search

Back
Top