Please write this simple program on your Linux and see what you
get:
/* checks the function sizeof() */
#include <stdio.h>
int main(void)
{
printf("The size of an integer is %d bytes.\n", sizeof(int));
return 0;
}
This prints 4 in Linux and 2 (which is correct) using Borland C++.
Best wishes
- Karl F. Larsen, 3310 East Street, Las Cruces,NM (505) 524-3303 -