Deutsch English Français Italiano |
<vblboj$23amm$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Bart <bc@freeuk.com> Newsgroups: comp.lang.c Subject: Re: Top 10 most common hard skills listed on resumes... Date: Mon, 9 Sep 2024 00:25:07 +0100 Organization: A noiseless patient Spider Lines: 27 Message-ID: <vblboj$23amm$2@dont-email.me> References: <vab101$3er$1@reader1.panix.com> <871q27weeh.fsf@bsb.me.uk> <20240829083200.195@kylheku.com> <87v7zjuyd8.fsf@bsb.me.uk> <20240829084851.962@kylheku.com> <87mskvuxe9.fsf@bsb.me.uk> <vaq9tu$1te8$1@dont-email.me> <vbci8r$1c9e8$1@paganini.bofh.team> <vbcs65$eabn$1@dont-email.me> <vbekut$1kd24$1@paganini.bofh.team> <vbepcb$q6p2$1@dont-email.me> <vbgb5q$1ruv8$1@paganini.bofh.team> <vbhbbb$1blt4$1@dont-email.me> <vbipp5$24kl5$1@paganini.bofh.team> <vbk0d9$1tajm$1@dont-email.me> <vbkpfc$27l2o$1@paganini.bofh.team> <vbl3am$228vv$1@dont-email.me> <87r09t3kzt.fsf@nosuchdomain.example.com> <vbl8nn$23amm$1@dont-email.me> <87cyld3f83.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 09 Sep 2024 01:25:07 +0200 (CEST) Injection-Info: dont-email.me; posting-host="f78fc89e66291041ea37870e95b59fc2"; logging-data="2206422"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+EhlPka6VnRjIAZor/+PVX" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:HjLcgTjjxYpYKuf4k8fPIw4NtzI= Content-Language: en-GB In-Reply-To: <87cyld3f83.fsf@nosuchdomain.example.com> Bytes: 2534 On 09/09/2024 00:20, Keith Thompson wrote: > 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? Yes. The code requires at least a 32-bit int anyway. > I know you're aware of <stdint.h>. You can use it to define your own > u64 and 32 aliases if you like. I know about that header. I find it fiddlier to type than writing unsigned long long once, which is bad enough.