From: <ma...@mm...> - 2002-12-02 03:48:22
|
hi. i'm not sure this is a compiler issue or not, but here goes. i have the following code: #include <stdio.h> unsigned long long int array[2]; void main() { array[0] = 20020505141502; //have tried suffixing with ull and ULL array[1] = 20021018040416; for (int i=0;i<2;i++) { printf("string %d: %Lu\n", i, array[i]); } } and it prints: string 0: 1662574846 string 1: 2175473760 am i doing something wrong? i'm using mingw 2 thanx in advance |