Im writing a program that adds up the squares of every even number between 0 and 2500. All i want to know is how do i make the numbers that are big not show to show up in scientific form.
This is a discussion on numbers within the C++ Programming forums, part of the General Programming Boards category; Im writing a program that adds up the squares of every even number between 0 and 2500. All i want ...
Im writing a program that adds up the squares of every even number between 0 and 2500. All i want to know is how do i make the numbers that are big not show to show up in scientific form.
Try using an unsigned 32 bit integer to store the accumulated value.
zen