Very basic question: how do I write a short
literal in C++?
I know the following:
2
is anint
2U
is anunsigned int
2L
is along
2LL
is along long
2.0f
is afloat
2.0
is adouble
'\2'
is achar
.
But how would I write a short
literal? I tried 2S
but that gives a compiler warning.