If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: Compilers-16bit/32bit -what does it mean ?

DOS and older versions of Windows used 16-bit words. Thus, the size of
int or a pointer was limited to this size (with a few hacks, pointers
would be augmented to 20 bits and even 32 bits but the fundamental CPU
word was still 16 bit long). With the advent of new processors and
Windows 95, the shift to 32 bits was made. This means that int and
pointers occupy 32 bits. As a result, the underlying memory model, the
alignment of structs and classes, the memory protection techniques and
of course, the .EXE file format changed accordingly. A 32 bit compiler
produces executables that can run on such platforms whereas a 16 bit
compiler produces .exe files for DOS and Window 3.1.