C++ Primer Book
// -----------------------------------------------------------------------------
int main()
{
return 0;
}
// -----------------------------------------------------------------------------
// bool
// char u8
// wchar_t L
// char16_t u
// char32_t U
// short (signed) unsigned short
// int (signed) unsigned int
// long (signed) L unsigned long
// long long (signed) LL unsigned long long
// float F
// double
// long double L
// -----------------------------------------------------------------------------
int x = 0;
int x = {0};
int x{0};
int x(0);
// -----------------------------------------------------------------------------
// alignas continue friend register true
// alignof decltype goto reinterpret_cast try
// asm default if return typedef
// auto delete inline short typeid
// bool do int signed typename
// break double long sizeof union
// case dynamic_cast mutable static unsigned
// catch else namespace static_assert using
// char enum new static_cast virtual
// char16_t explicit noexcept struct void
// char32_t export nullptr switch volatile
// class extern operator template wchar_t
// const false private this while
// constexpr float protected thread_local
// const_cast for public throw
// -----------------------------------------------------------------------------
int ival = 1024
int &refVal = ival;
refVal = 512;
int *p = &ival;
*p = 256;
p = nullptr;
// -----------------------------------------------------------------------------