A question about "size_t"
-
Hi, everyone! I have searched the help page for "size_t" but failed to find the help page and information about "size_t". Where can I find the help page or information about "size_t"? Can you paste detailed information about "size_t". Thanks. Cheers, George
-
Hi, everyone! I have searched the help page for "size_t" but failed to find the help page and information about "size_t". Where can I find the help page or information about "size_t"? Can you paste detailed information about "size_t". Thanks. Cheers, George
#ifndef _SIZE_T_DEFINED
#ifdef _WIN64
typedef unsigned __int64 size_t;
#else
typedef _W64 unsigned int size_t;
#endif
#define _SIZE_T_DEFINED
#endifNish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
#ifndef _SIZE_T_DEFINED
#ifdef _WIN64
typedef unsigned __int64 size_t;
#else
typedef _W64 unsigned int size_t;
#endif
#define _SIZE_T_DEFINED
#endifNish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
Thanks, Nish, my old friend! I still have a question. What means "typedef _W64 unsigned int size_t;"? Does it mean the three objects _W64, unsigned int and size_t are the same? Have a nice weekend, George
Hello George It means
size_t
is a synonym for_W64 unsigned int
And as far as I could make out_W64
has been defined as nothing. Perhaps someone else can correct me here if I am wrong. So as far as you are concerned you can cast thesize_t
to anunsigned int
Regards, Nish p.s. I found the cross posts humorous, specially your choice of the ATL/WTL forum ;-) ;-) ;-)
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
Hello George It means
size_t
is a synonym for_W64 unsigned int
And as far as I could make out_W64
has been defined as nothing. Perhaps someone else can correct me here if I am wrong. So as far as you are concerned you can cast thesize_t
to anunsigned int
Regards, Nish p.s. I found the cross posts humorous, specially your choice of the ATL/WTL forum ;-) ;-) ;-)
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]