[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppShort
The range of a short can be found at compile time with std::numeric_limits.
Prefer a plain int over a short int or a long int (ref. 1, 4.10.14)
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppShort
(C++) short
short is a data type (and thus a keyword) and short for short int, that can contain whole numbers, for a smaller range then a plain int.The range of a short can be found at compile time with std::numeric_limits.
Prefer a plain int over a short int or a long int (ref. 1, 4.10.14)
'short' links
Reference
- 1) Bjarne Stroustrup. The C++ Programming Language (3rd edition).ISBN: 0-201-88954-4
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
