I have seen size_t a few times and have done a little bit of research but still dont understand what it is. So basically I want to know what it is and why should i ever use it?
Thats all gibberish to me, i need a simplified explanation please.
Last edited on
try reading it again, it says its an
unsigned int that the listed functions return.
So size_t is just an unsigned int? so i could do unsigned int instead of size_t?
If it's defined as such it should work fine, but why not use size_t if it's setup and is what the functions expect?
No i am going to use size_t i was just wondering what it was about. so if size_t is for an unsigned int, is there one for a signed int? also when would i ever use size_t?