convert from size_t to unsigned int

G

Guest

Thanks for your advice, David.


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


regards,
George
 
G

Guest

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
 
B

Ben Voigt [C++ MVP]

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
 
D

David Wilkinson

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top