What is the name of this operator: "-->"? - Stack Overflow
http://groups.google.com/group/comp....0d58dd20?pli=1
This is pretty nice, I've never seen this one before, definitely works as a subtle joke, lol.
I feel like the FOR statement is convoluted with too many terms after being introduced to this method...
On a more serious note, how do you feel about using WHILE in this way over FOR? It feels wrong, but looks nice.
loll! you guys are really going to enjoy the comments on this reddit article, best c programming jokes I've ever read;
http://www.reddit.com/r/programming/...e_littleknown/
This is fantastic right here, :]
Code:#include <stdio.h> #define BEGIN int main() { #define CREATE int #define EQUALING = #define OK ; #define DECREMENT -- #define IF if ( #define IS == #define THEN ) { #define STARTPRINT printf( #define ENDPRINT ) #define ELSE } else { #define ENDIF } #define END return 0; } BEGIN CREATE a EQUALING 2 OK CREATE b EQUALING 3 OK DECREMENT b OK IF a IS b THEN STARTPRINT "I like apples." ENDPRINT OK ELSE STARTPRINT "I like oranges." ENDPRINT OK ENDIF END