I am using Dev-C++ 4.9.9.2 . I found it not support the type long long. Here is my code
Code:
#include <stdio.h>

int main(void)
{
      unsigned int un = 3000000000; /* system with 32-bit int */
      short end = 200;              /* and 16-bit short       */
      long big = 65537;
      long long verybig = 12345678908642;

      printf("un = %u and not %d\n", un, un);
      printf("end = %hd and %d\n", end, end);
      printf("big = %ld and not %hd\n", big, big);
      printf("verybig= %lld and not %ld\n", verybig, verybig);

      getchar();
      return 0;
}
here is the warning message
Quote Originally Posted by warning
G:\Documents and Settings\antigloss\a.c In function `main':
5 G:\Documents and Settings\antigloss\a.c [Warning] this decimal constant is unsigned only in ISO C90
8 G:\Documents and Settings\antigloss\a.c [Warning] integer constant is too large for "long" type
and the output
Quote Originally Posted by output
un = 3000000000 and not -1294967296
end = 200 and 200
big = 65537 and not 1
verybig= 1942899938 and not 2874
My question is how to set up dev-c++ so that it'll support the type long long ??