Зміст курсу
C++ Data Types
C++ Data Types
Numerical Data Types Summary
In the preceding chapters, we covered the numerical data types int
, float
, and double
. Additionally, we discussed type modifiers such as short
, long
. By combining these types and modifiers, we can select the most appropriate data type for our specific task.
Note
The
short
type modifier cannot be used with floating-point types such asfloat
anddouble
.
* means it depends on a system
** on Windows, long long
instead of long
Дякуємо за ваш відгук!