I'm using a string to get an input of between 2 and 9 integers max. I'm trying to multiply the result of each digit together. For example if I put in 245, the product should be 40. The product however isn't the right number.
Oh ok just cast the pow() to an int like: int(pow(a,b))
I forgot that the pow function returns a type double and VS basically takes a dump on itself if you're trying to mod with floats or bigger sized numbers.
Also where are you getting an unscoped enum error?