Data
Types
•Data type: set of values together with a
set of operations
•C++ data types fall into three
categories:
Simple
Data Types
•Three categories of simple data
−Integral:
integers (numbers without a decimal)
−Floating-point:
decimal numbers
−Enumeration
type: user-defined data type
Integral data types are further
classified into nine categories:
Different compilers may allow different
ranges of values
ليست هناك تعليقات:
إرسال تعليق