Hello again. If you've read the programming challenge thread, you'll know I made a factoring program that I'm trying to convert to 64-bit. I have two problems. The first is getting a 64-bit value from the prompt. Here is the line from my source code that should do it. "number" is an unsigned long long by the way.
The second passed value is 0 because I want it to discard errors the user types. I'm not putting in error protection right now. So this works for numbers below 2 ^ 32, but after that it returns false numbers. I can't see what the failure is.
Also, is there a way to print long long integers with printf or a similar function? I'd even settle for a function that converts it to a string, but it would be very hard to make my own. Any ideas? Thanks.