Sujet : Re: Top 10 most common hard skills listed on resumes...
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 09. Sep 2024, 00:20:12
Autres entêtes
Organisation : None to speak of
Message-ID : <87cyld3f83.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
User-Agent : Gnus/5.13 (Gnus v5.13)
Bart <
bc@freeuk.com> writes:
On 08/09/2024 22:15, Keith Thompson wrote:
Bart <bc@freeuk.com> writes:
[...]
I had a problem with this code because it was so verbose. The first
thing I did was to define aliases u64 and u32 for those long types:
>
typedef unsigned long long u64;
typedef unsigned long u32;
So you're assuming that unsigned long is 32 bits? (It's 64 bits on
the systems I use most.)
>
That should be unsigned int.
So you're assumuing that unsigned int is 32 bits?
I know you're aware of <stdint.h>. You can use it to define your own
u64 and 32 aliases if you like.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */