Deutsch English Français Italiano |
<vdcnio$1tmdr$7@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: alt.folklore.computers,comp.os.linux.misc Subject: Re: The joy of FORTRAN-like languages Date: Sun, 29 Sep 2024 23:24:09 -0000 (UTC) Organization: A noiseless patient Spider Lines: 26 Message-ID: <vdcnio$1tmdr$7@dont-email.me> References: <pan$96411$d204da43$cc34bb91$1fe98651@linux.rocks> <vd8o1s$178gk$5@dont-email.me> <llr46dFmeudU2@mid.individual.net> <vd9r10$1d6gq$4@dont-email.me> <vd9rub$18mq$2@gal.iecc.com> <vd9v99$1die6$1@dont-email.me> <llrv21Fqbh9U5@mid.individual.net> <vdarcb$1l4ch$4@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 30 Sep 2024 01:24:09 +0200 (CEST) Injection-Info: dont-email.me; posting-host="a1a02b051aaecb67c07f3c0a04f3a680"; logging-data="2021819"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5anJAQXbNt3R9dZhu6XNy" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:HoQckB1A8ykAGpC8TO6JJFqVI1E= Bytes: 1901 On Sun, 29 Sep 2024 07:16:43 +0100, The Natural Philosopher wrote: > Curly braces. I had a friend who said 'you cant program in C on an Apple > because there are no curly braces'. > > I think I sent him a header file with > > #define BEGIN { > #define END } As of C99, there is a standard C header file called iso646.h. Its contents look like #define and && #define and_eq &= #define bitand & #define bitor | #define compl ~ #define not ! #define not_eq != #define or || #define or_eq |= #define xor ^ #define xor_eq ^= Too late for your Apple-using friend, of course ...