where to find functions for int/double etc

Hey, I used the string library and noticed the ease of functions like std::string::size.

is there any ones that are like that for type int, double, etc??
Not really -- there's no need for them. What specifically are you looking for?

EDIT:

I guess there's <limits> which is pretty close:

http://cplusplus.com/reference/std/limits/numeric_limits/
Last edited on
I guess there isn't.

Just functions that manipulate them... I was making a program that finds odds/evens... and orders them big to small based on that criteria.

I was simply looking for tools that manipulate them to see if any would be of any use... and to know them for the future for more complex programs etc.
Last edited on
You want to get the number of digits in a number? You could convert it to a string and then get the length. Though there are faster ways to do that (at least for integers. with doubles it's a bit more complicated..)
Disch, is int arrays practically the same as regular ints?
Topic archived. No new replies allowed.