I tried to put "int" instead of "double", and it worked. So... I guess there's nothing wrong with using "int"?But I guess there's nothing wrong with what you did. I just don't really like using codes that I don't understand yet.
![]()
That is weird...
My compiler complains when I use it as a normal int... try taking away the casting completely and see if it still works?
so change the line to: input = i = abs(input);
I think I tried that earlier, and it didn't work.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks