There are far more than 4 integral types in C++. As of C++11, there were 27 integral types:
bool
char
signed char
unsigned char
wchar_t
char16_t
char32_t
short
signed short
unsigned short
short int
signed short int
unsigned short int
int
signed int
unsigned int
long
signed long
unsigned long
long int
signed long int
unsigned long int
long long
signed long long
unsigned long long
long long int
signed long long int
unsigned long long int
C++ is only partially OOP because it is a superset of C and, for the sake of backward compatibility, retains the concept of primitive data types (such as integrals like char and int) and pointer data types, which are all strictly non-object-oriented. In Java and C#, there is no concept of a primitive data type. Even integral types such as int are treated as objects and there is no concept of a pointer data type.
long, short, char and bool are 4 valid variable types. There are many more available, including (but not limited to) float, double, int, wchar_t, size_t, as well as compound types (such as long long) and unsigned/signed variations, such as unsigned int. All of these types are primitive, integral or built-in data types. More complex data types can be formed from struct, class and union declarations, but they all simply build upon the integral types.
I've never heard the term posneg before, but I'll assume it's a contraction of positive and negative, which is a signedvalue in C++, as opposed to an unsigned value which is always positive. Signed and unsigned are modifiers that can be applied to any integral data type (integer and char types).
C++ object oriented programming (OOP) language and supports three kinds of object types 1) Fundamental Types. 2) Derived Types. 3) Class Types.
same the types used in C. that is int...char...float...
The integral of 1 + x2 is x + 1/3 x3 + C.
Integral (14+x^4) dx = 14x + x^5/5 + C
Integral of 1 is x Integral of tan(2x) = Integral of [sin(2x)/cos(2x)] =-ln (cos(2x)) /2 Integral of tan^2 (2x) = Integral of sec^2(2x)-1 = tan(2x)/2 - x Combining all, Integral of 1 plus tan(2x) plus tan squared 2x is x-ln(cos(2x))/2 +tan(2x)/2 - x + C = -ln (cos(2x))/2 + tan(2x)/2 + C
C++ is only partially OOP because it is a superset of C and, for the sake of backward compatibility, retains the concept of primitive data types (such as integrals like char and int) and pointer data types, which are all strictly non-object-oriented. In Java and C#, there is no concept of a primitive data type. Even integral types such as int are treated as objects and there is no concept of a pointer data type.
long, short, char and bool are 4 valid variable types. There are many more available, including (but not limited to) float, double, int, wchar_t, size_t, as well as compound types (such as long long) and unsigned/signed variations, such as unsigned int. All of these types are primitive, integral or built-in data types. More complex data types can be formed from struct, class and union declarations, but they all simply build upon the integral types.
x3 /12 + 16x + c
No.
c
I've never heard the term posneg before, but I'll assume it's a contraction of positive and negative, which is a signedvalue in C++, as opposed to an unsigned value which is always positive. Signed and unsigned are modifiers that can be applied to any integral data type (integer and char types).
At the present time, there is little difference. The C Standard states that enumerations are compatible with integral types.
2 2x makes no sense. If you meant the integral of 2x, it is x2 + C. If you meant the integral of 4x, it is 2x2 + C. If you meant the integral of 2x2, it is 2/3 x3 + C.
C++ object oriented programming (OOP) language and supports three kinds of object types 1) Fundamental Types. 2) Derived Types. 3) Class Types.