Re: Mixing size_t and other types
- From: Navaneeth <navaneethkn@xxxxxxxxx>
- Date: Sun, 1 Aug 2010 04:06:20 -0700 (PDT)
Strangely enough, size_t is commonly used for sizes, so just make size a
size_t and save to agro.
size_t will be an unsigned type.
Thanks. But this variable holds a value that comes from the standard
function "ftell". It'd be something like,
fseek (fp , 0 , SEEK_END);
size = ftell (fp); /* ftell gives me long int. */
So I think I won't be able to make it a size_t. Not sure how to go
about this. Any help?