User profile: MetalMilitia

User info
User name:MetalMilitia
History
Joined:
Number of posts:10
Latest posts:

recursive function: convert int to string
Although my attempt isn't terribly readable, it's recursive and it handles both positive and negativ...

help with this please
The largest number a 4-byte integer can hold is 2147483647, while the smallest number it can hold is...

help with this please
You're testing the variable for invalid state with [code]enter != cin.bad()[/code], rather than test...

Trouble with Input Validation
A good way to do it is to read input into a string, then convert that string to the intended type wi...

how to check if number is integer?
I like to use something like this: [code] #include <iostream> #include <sstream> int get_int(char ...

This user does not accept Private Messages

User: MetalMilitia

  • Public profile