In article <clcm-20080416-0010@[EMAIL PROTECTED]
>, Philluminati
<Phillip.Ross.Taylor@[EMAIL PROTECTED]
> wrote:
>
> And finally, why do I see people typedef values in C and, for example,
> use size_t rather than an int?
since size_t is not necessarily an int, it could be an unsigned long
:) using a typedef lets the code work no matter what size_t is as
long as it is an integral type. including stddefs.h works whether it
is an int, or an unsigned long, or even long long....
--
comp.lang.c.moderated - moderation address: clcm@[EMAIL PROTECTED]
-- you must
have an appropriate newsgroups line in your header for your mail to be
seen,
or the newsgroup name in square brackets in the subject line. Sorry.


|