Lua heeft trouwens ook lexical scoping. Squirrel language trouwens ook.
zaterdag 8 oktober 2016
Javascript Lexical Scoping
Javascript heeft lexical scoping. Lees hier meer erover.
dinsdag 4 oktober 2016
Which MINGW64 predefines, like _WIN32 or _WIN64, are there?
Make a textfile on your disk called test.c
content:
void main() { }
do:
gcc -E -dM test.c
Now, you get a list of all predefines that Mingw64 uses when compiling.
...
#define __FLT_MIN__ 1.17549435082228750797e-38F
#define __UINT_LEAST8_TYPE__ unsigned char
#define __SIZEOF_FLOAT80__ 16
#define _WIN32 1
#define __INTMAX_C(c) c ## LL
#define __CHAR_BIT__ 8
#define __UINT8_MAX__ 0xff
#define _WIN64 1
#define __WINT_MAX__ 0xffff
#define __ORDER_LITTLE_ENDIAN__ 1234
...
...
...
content:
void main() { }
do:
gcc -E -dM test.c
Now, you get a list of all predefines that Mingw64 uses when compiling.
...
#define __FLT_MIN__ 1.17549435082228750797e-38F
#define __UINT_LEAST8_TYPE__ unsigned char
#define __SIZEOF_FLOAT80__ 16
#define _WIN32 1
#define __INTMAX_C(c) c ## LL
#define __CHAR_BIT__ 8
#define __UINT8_MAX__ 0xff
#define _WIN64 1
#define __WINT_MAX__ 0xffff
#define __ORDER_LITTLE_ENDIAN__ 1234
...
...
...
Abonneren op:
Posts (Atom)