C numerical constant suffix for "short"

Possible Duplicate:
How do I write a short literal in C++?

Is there a suffix for short int numerical constants in C? There are u , l , d , and f for unsigned, long, double and float, but I could not find any for short .

I do some very low lever bit meddling and I need numerical constants with the size of 2 bytes. The system I work on guarantees that short int s are 2 bytes, so that is not a problem. It's embedded, so please don't bother with suggestions about portability.


检查C标准,没有这样的前缀短裤。

链接地址: http://www.djcxy.com/p/10002.html

上一篇: 类与嵌套CSS的ID

下一篇: C数字常数后缀为“short”