Sujet : Re: The joy of FORTRAN-like languages
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : alt.folklore.computers comp.os.linux.miscDate : 30. Sep 2024, 00:24:09
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vdcnio$1tmdr$7@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : Pan/0.160 (Toresk; )
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 ...