[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppUnsigned
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppUnsigned
(C++) unsigned
unsigned specifies that a data type has positive values only.Advice
- Avoid unsigned arithmetic (ref. 1, 4.10.18)
- Prefer plain char over signed char and unsigned char (ref. 1, 4.10.16)
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]
