[Dev-C++] OT: mingw, printf and DWORD64
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Zodiaq <zo...@ac...> - 2002-12-17 12:32:13
|
Hello all Dev-cpp-users, I'm writing some apps under DevC++ (which, as everybody know is great IDE) and I've encountered small problem - can't force mingw to properlsy print laaaaaaaarge integers (signed or not)... already tried: printf( "%lu", ( DWORD64 )-1 ); but this gives me short number as output... and compiler gives me warning: warning: long unsigned int format, different type arg (arg 2) well, with <iostream> everything works fine, but I'd like to force printf to work - it must be possible somehow... but how? -- regards, Zodiaq |