Liste des Groupes | Revenir à cl c |
Thiago Adams wrote:With ...
What is your opinion about this:Whether or not it is, i would prefer to use the UINT_MAX macro to make the
>
unsigned int u1 = -1;
>
Generally -1 is used to get the maximum value.
Is this guaranteed to work?
code clearer.
How about this one?I cannot think of any situations where that would make sense, but i also
>
unsigned int u2 = -2;
Does it makes sense? Maybe a warning here?
cannot guarantee that there are not any.
Les messages affichés proviennent d'usenet.