Search:

Type: Posts; User: Once-ler

Search: Search took 0.01 seconds.

  1. Thank you.

    Thank you.
  2. #include int main() { ...

    #include <stdio.h>
    int main()
    {
    char b[1000];
    unsigned long long int i =18446744073709551615 ;
    sprintf( b, "Formatted data: %ulld", i );
    puts( b );
    if (i&1)...
  3. I tried that with 18446744073709551615 and it...

    I tried that with 18446744073709551615 and it keeps giving me a negative number
    Thanks for your help.
  4. what if I want to work with all positive numbers...

    what if I want to work with all positive numbers what would the range be then?
  5. except that it dosen't work all the way to...

    except that it dosen't work all the way to 18446744073709551615
    I keep getting a negative number
  6. Thanks you guys. add ll in %lld fixed the...

    Thanks you guys.
    add ll in %lld fixed the problem. Thankyou so much.
  7. How do I get this to work? #include...

    How do I get this to work?

    #include <stdio.h>
    int main()
    {
    char b[1000];
    long long int i = 42393848474;
    sprintf( b, "Formatted data: %d", i );
    puts( b );
    ...
  8. how do I convert a long long int into a char array?

    Without lossing information?
Results 1 to 8 of 8