"Now you have ████████ problems"

U+202E:

The logical next step of my c++ shenanigans: I've taken the source of my hexdumping tool 'hxdmp' and made it invisible (aside from a bunch of defines) by abusing U+200B Zero Width Space. This is perfectly legal C++11 code. I'm sorry and you're welcome.

#include <stdbool.h>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include <getopt.h>
#define ​ "\x1b[38;5;%dm"
#define ​​ !=
#define ​​​ (
#define ​​​​ {
#define ​​​​​ "\x1b[0m"
#define ​​​​​​ )
#define ​​​​​​​ }
#define ​​​​​​​​ ]
#define ​​​​​​​​​ &&
#define ​​​​​​​​​​ ++
...

Previously, previously, previously, previously, previously, previously, previously, previously, previously.

Tags: , , ,

4 Responses:

  1. Walter Heukels says:

    I've enjoyed seeing C++ catch up to Perl in the past decade or so.

Leave a Reply

Your email address will not be published. But if you provide a fake email address, I will likely assume that you are a troll, and not publish your comment.

You may use these HTML tags and attributes: <a href="" title=""> <b> <blockquote cite=""> <code> <em> <i> <s> <strike> <strong> <img src="" width="" height="" style=""> <iframe src="" class=""> <video src="" class="" controls="" loop="" muted="" autoplay="" playsinline=""> <div class=""> <blink> <tt> <u>, or *italics*.

  • Previously