Spec-Zone.ru › C++

C++ keyword: int

Usage

  • short int type: as the declaration of the type when combined with short
  • unsigned short int type: as the declaration of the type when combined with unsigned and short
  • int type: as the declaration of the type
  • unsigned int type: as the declaration of the type when combined with unsigned
  • long int type: as the declaration of the type when combined with long
  • unsigned long int type: as the declaration of the type when combined with unsigned and long
  • long long int type: as the declaration of the type when combined with two longs
  • unsigned long long int type: as the declaration of the type when combined with unsigned and two longs
(since C++11)

See also

  • Fundamental types: void, std::nullptr_t(since C++11).
    • Integral types: int. Modifiers: signed, unsigned, short, long.
      • Boolean type: bool. Boolean literals: false, true.
      • Character types: char, char8_t(since C++20), char16_t, char32_t(since C++11), wchar_t.
    • Floating-point types: float, double.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/keyword/int

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API