This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
如题,char类型在不同编译器是不一样的,那么在ccs中是unsigned的还是signed的呢?或者说ccs可以设置规定char的类型吗?
zongjie
不建议直接使用char进行数据类型的定义。可以使用uint8_t ---unsigned char 和 int8_t -- signed char。具体数据类型的定义请参考,stdint.h文件。