Re: [Mingw-w64-public] 64-bit fscanf question...

2009-11-26 Thread David Cleaver
Kai Tietz wrote: > Yes, you did. I assume you are using a XP, or earlier Operating System > of Windows, am I right? Yes, I am using Windows XP Pro 64-bit edition. > To be portable use instead of '%ll' the MS specific '%I64'. At the > moment the scanf functions aren't part of the __USE_MINGW_ANSI

Re: [Mingw-w64-public] 64-bit fscanf question...

2009-11-26 Thread Kai Tietz
Hello David, 2009/11/26 David Cleaver : > Hello all, > > I'm now trying to read in 64-bit values from a file.  They are stored in > decimal > (base-10) format, and I am trying to read them in with: > unsigned long long number; > fscanf(input, "%llu", &number); > However, it is only reading in the

[Mingw-w64-public] 64-bit fscanf question...

2009-11-26 Thread David Cleaver
Hello all, I'm now trying to read in 64-bit values from a file. They are stored in decimal (base-10) format, and I am trying to read them in with: unsigned long long number; fscanf(input, "%llu", &number); However, it is only reading in the least-significant 32-bits of the number on any given