3 ms·
Awesome; I didn't know you could use macros to define REM as a comment in Visual C++!
by misnome 11y ago
Awesome; I didn't know you could use macros to define REM as a comment in Visual C++!
- marvy 11y agoMe neither! Here's another cool macro trick: http://journal.stuffwithstuff.com/2012/01/24/higher-order-macros-in-c/ http://journal.stuffwithstuff.com/2012/01/24/higher-order-ma...
- voltagex_ 11y agoThat's worthy of its own article.
- cbd1984 11y agoA Real Programmer can write BASICA in any language!
- Kristine1975 11y agoYou haven't lived until you've implemented a compile-time counter in C++: http://b.atch.se/posts/constexpr-counter/ http://b.atch.se/posts/constexpr-counter/ (which doesn't rely on compiler bugs)