I feel like such a n00b when i see shit like this 'printf((argc > ?) ? "%s ": "%s", *++argv);'. All this time i didn't know you could put an expression in printf.
You're right, it's not, but it's one of my favorite things. I just love one liners and it is made for them. The tutorial i'm reading through uses increment/decrement operators liberally with their pointer arithmetic and it's totally unreadable and hilarious. At the very least, entertaining.
Comments 4
Reply
Reply
Reply
Reply
Leave a comment