mardi 22 mai 2018

How can I define a type that is equal to 16 byte

I want to define a type that be equal to an array of 16 byte. Something such as this:

typedef uint8_t[16] mynewType;

but I am getting error. How can I define such type?

I am getting several errors on this line such as:

missing ';' before '['  
empty attribute block is not allowed    
missing ']' before 'constant'
'constant'  

Aucun commentaire:

Enregistrer un commentaire