Search:

Type: Posts; User: Josh Genser

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,053

    I'm trying to use %u for a unsigned int, is that...

    I'm trying to use %u for a unsigned int, is that the correct format specifier? Also what would be the correct one for long long unsigned int? I rewrote the code into a loop. 9 digits works perfect...
  2. Replies
    5
    Views
    1,053

    10 digit computation problem

    My program is supposed to display a ten digit number starting with the last number on top. I keep getting an error when divide the number entered by 10000000000.

    the error says "integer constant...
  3. Replies
    6
    Views
    1,206

    Thanks for the input guys. One this I'm still...

    Thanks for the input guys. One this I'm still confused is the %f and %lf commands. Are they supposed to be used for doubles like %d is supposed to be used for integers?

    Does anyone know of a list...
  4. Replies
    6
    Views
    1,206

    double vs int for statement

    Here are two programs, in the first program i get d=0 as my answer in the statement, in the second program i get the correct answer d=7. Why does an incorrect answer appear in the statement when I am...
Results 1 to 4 of 4