Difference between double and DOUBLE in C ++

I wonder what the difference is between doubleand double(from #include <Windows>) in C ++. Java has a lot of questions about this, but it is a completely different language.

Is it doublejust a Windows shell class for doubleor something else? Do they have different benefits?

+4
source share
1 answer

doubleis the C ++ keyword, and doubleis the implementation defined by typedef.

For example, if I include <Windows.h>in a project in MS VC ++, then the IDE shows what doubleis defined WTypesbase.has:

typedef double DOUBLE;
+6
source

All Articles