on-internet
← Community

Are there fixed size integers in GCC?

Stack Overflow ·

On the MSVC++ compiler, one can use the __int8, __int16, __int32 and similar types for integers with specific sizes. This is extremely useful for applications which need to work with low-level data structures like custom file formats, hardware control data structures and the like. Is there a similar equivalent I can use on the GCC compiler?

Comments

Sign in or sign up to comment and upvote.

No comments yet.