I'm using OnlineGDB compiler to test routines for embedded micros, where usual datatypes are:
'int8_t' and 'uint8_t', AKA 'char' and 'unsigned char', 1 byte-wide...
'int16_t' and 'uint16_t', AKA 'int' and 'unsigned int', 2 byte-wide...
'int32_t' and 'uint32_t', AKA 'double' and 'unsigned double' (sometimes referred to as 'long' and 'unsigned long'...), 4 byte-wide...
Apparently, OnlineGDB in "C" mode only supports 1 byte-wide (as 'char/uchar') and 4 byte-wide (as 'int/uint') datatypes (probably because aimed at the PC world) so before creating my own structure-based datatype, I would like to know if I'm missing something...
Any help appreciated, thanks.