Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

How to C

Name: Anonymous 2016-01-08 14:23

https://matt.sh/howto-c

Very good read for anyone that wants to write this outdated language in 2016.

Name: Anonymous 2016-01-21 10:38

You know what, here's a challenge regarding syntax and macros, since you obviously can't read, learn, or state anything sensible in actual conversation:

Make compile-time roman numeral literals in C.

Prefix them with some single escape character for clarity. Say int i = `MCLI; should work to set i to 1151. To make it more straightforward, just use additive order-independent numerals, so `ILCM would still be 1151.

Lisp can certainly do that easily with its reader macros. How about C? How about even C with the hypothetical extensions you say are more powerful than Lisp?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List