convert from size_t to unsigned int

  • Thread starter Thread starter Guest
  • Start date Start date
Thanks for your advice, David.


I will convert the function prototype from unsigned int to size_t for future
compatibility consideration.


regards,
George
 
Thanks doc,


I have understood your points of making future compatbility for 64-bit
platform. I will follow your points.

Have a good weekend.


regards,
George
 
docschnipp said:
I guess the reason is as usual: using several pieces of code, one is using
size_t, others, not originating the Windows platform, use int or unsigned
int.

size_t is standard, not Windows-specific
 
Ben said:
size_t is standard, not Windows-specific

Ben:

Yes, but using int for indexing is not specific to libraries intended
for Windows. For example, I use Numerical Recipes a lot, and their
vector/matrix classes use int for indexing.
 
Back
Top