— When writing C is better to use uint or uint_t ?
— Int is signed and uint is unsigned
— No mean the t sorry
— Uint vs uint_t
But if u meant should i use Exact-width integer types then use they can be nice for portability in other machines
— Ok thanks
— Yes please
— Hello everyone, i am 27 years old new with C and looking foward to make good contact. My goal of this is to build a bot to work with MQ4 language so i can make it work on the financial market ( Currency ) forex. If anyone want to chat in private or here let's do it.
Message permanent page
— Be aware that int32_t is optional and not available on every architecture while int is mandatory.
— Optional kind of implies it's a GCC extension or something
— It's available everywhere that conforms to C99+ or C11+
— No, but you can't guarantee availability because there are systems where a byte is not 8 bits and hence you can't have that type
— But that's exactly why these things were implemented
— The only case in which they don't exist is e.g uint64_t in an architecture that only holds up to 32 bits