HN user

parlortricks

81 karma
Posts0
Comments86
View on HN
No posts found.

In C a[i] is converted to *(a+i) internally. i[a] is converted to *(i+a). Array names also act as pointers in c. so (a+i) or (i+a) give an address (using pointer arithmetic) that is dereferenced using *

I didn't understand why a[3] == 3[a], but i found this stackoverflow that explains it.

https://stackoverflow.com/a/16163840

In C a[i] is converted to *(a+i) internally. i[a] is converted to *(i+a). Array names also act as pointers in c. so (a+i) or (i+a) give an address (using pointer arithmetic) that is dereferenced using

This is great, i use a 3x3 font i drew up for lowres games, though there are many example that look mostly the same since it is such a small space.

Yeah, second the norgb option. Even more annoying when openrgb just randomly hangs scanning devices and now im stuck with rainbows i cant turn off!

Lua 5.5 7 months ago

Excellent new release, now for Fennel and Love2d to update, fun times!