gia na anapsoyn ligo ta aimata :-)
Christos Nouskas
nouskas at freemail.gr
Wed Nov 9 07:02:55 EET 2005
Fotis Georgatos wrote:
> #define TESTNUM1 -(1<<31)
> #define TESTNUM2 -2147483648
>
> int main (void)
> {
> if ( TESTNUM1 == TESTNUM2 )
> printf("The numbers are equal: %d %d\n", TESTNUM1, TESTNUM2 );
> if ( 0 < TESTNUM1 )
> printf("Your lucky number TESTNUM1 is positive: %d\n", TESTNUM1 );
> if ( 0 < TESTNUM2 )
> printf("Your lucky number TESTNUM2 is positive: %d\n", TESTNUM2 );
> return 0;
> }
Yes, but with all those compiler warnings one should have been warned :-p
--
##### # #####
####### "We are Pentium of Borg. Division is futile.
##### # ##### You will be approximated."
More information about the Linux-greek-users
mailing list