Search:

Type: Posts; User: grumpy

Search: Search took 0.05 seconds.

  1. Replies
    34
    Views
    8,363

    Nothing to do with it. A 64-bit compiler is...

    Nothing to do with it. A 64-bit compiler is able to address more memory. Support of long long integral types is something else entirely.

    And it doesn't change the fact that you are using...
  2. Replies
    34
    Views
    8,363

    What are you doing wrong? The first obvious...

    What are you doing wrong?

    The first obvious thing is that you have not addressed your original problem (apart from giving main() an explicit int return type, that code is identical to the code in...
  3. Replies
    34
    Views
    8,363

    Well .... the OP's example is seeking to print...

    Well .... the OP's example is seeking to print the file size. fgetpos() does not retrieve a position in a file in a form that can be interpreted as a value (except by fsetpos()) or printed.
  4. Replies
    34
    Views
    8,363

    The second argument of fseek() is a long int, not...

    The second argument of fseek() is a long int, not an unsigned long long. ftell() also returns a long, not a long long. Supplying constants of longer type (0ull as the second argument of fseek())...
Results 1 to 4 of 4