"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.

  • Previously