Mail Archives: djgpp/1998/02/07/14:20:26
Is there a way so I can specify the size of an integer in DJGPP. In MSDN
help, it says that MSVC++ 5.0 has the following integer sizes:
1 byte: –128 to 127
2 byte: –32,768 to 32,767
4 byte: –2,147,483,648 to 2,147,483,647
8 byte: –9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
I am doing a program that calculates prime numbers, so the bigger the
better. Is there any way I can get a 4 or 8 byte integer in DJGPP?
Thanks,
Mike
-----------------------------------------------------
| Michael Matczynski |
| michaelm AT dataplusnet DOT com |
| http://www.geocities.com/SiliconValley/Park/4949/ |
| "Knowledge is good" - anonymous |
-----------------------------------------------------
- Raw text -