char 8bits 1byte. save the memory space. But
char test;
test = -1;
if (test == -1) ---> you are fucked.
You can assign -1 to char but you cannot test it.
I hate char.
ps.IAR compiler can set if you want char to be singed or unsinged.
« 機器人檢定 (日本的) | Main | MIT's Affective Intelligent Driving Agent »
The comments to this entry are closed.
Comments