as i was playing with datatypes, and getting different results on Turbo C & DevCpp
But i knew that my Turbo C is of 16 bit
& so im comfortable with ranges of datatypes..
But the problem is, how should i come to Bit version of DevCpp i.e. whether it is 16 or 32bit
Don't want to know the versio of DevCpp like 4.9.9.2, tell me BIT Version
how to check Bit version of DevCpp
Page 1 of 13 Replies - 168 Views - Last Post: 03 January 2013 - 07:54 AM
Replies To: how to check Bit version of DevCpp
#2
Re: how to check Bit version of DevCpp
Posted 03 January 2013 - 02:56 AM
If I didn't get you wrong, I think you wanted to know that Dev-C++ is 32-bit...
Well! The size of the data types depend on the compiler, Operating System, and the architecture... It may vary from compiler to compiler, OS to OS, and architecture to architecture...
And, if you know that turbo-c is that old and is 16-bit; Why you are still using it? Even Dev-C++ is outdated too...
You have to get a latest compiler which is compliant with the standards... You can use the Code::Blocks IDE it comes with MinGW compiler...
Well! The size of the data types depend on the compiler, Operating System, and the architecture... It may vary from compiler to compiler, OS to OS, and architecture to architecture...
And, if you know that turbo-c is that old and is 16-bit; Why you are still using it? Even Dev-C++ is outdated too...
You have to get a latest compiler which is compliant with the standards... You can use the Code::Blocks IDE it comes with MinGW compiler...
#3
Re: how to check Bit version of DevCpp
Posted 03 January 2013 - 03:33 AM
I know it is 32 Bit
came to know that it is 32 bit version with the help of datatypes as compared to 16 bit..
But im asking is there any other way to recognize tht it is 32Bit <b>Officialy</b>
came to know that it is 32 bit version with the help of datatypes as compared to 16 bit..
But im asking is there any other way to recognize tht it is 32Bit <b>Officialy</b>
#4
Re: how to check Bit version of DevCpp
Posted 03 January 2013 - 07:54 AM
Quote
But the problem is, how should i come to Bit version of DevCpp i.e. whether it is 16 or 32bit
Since DevCpp is officially a 32 bit compiler, what is your actual question?
If you want to know the "limits" of your variables try printing things like "INT_MIN", "INT_MAX" which are defined in the limits.h header file. Also to get an general idea you could try printing the sizeof() your data types and pointers.
But to answer the primary question, you the programmer should know whether your compiler and operating system is 16, 32, or 64 bit.
Jim
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote



|