Skip to content

Instantly share code, notes, and snippets.

@hellerve
Created February 5, 2015 14:40
Show Gist options
  • Save hellerve/dd77db4bccfed583f102 to your computer and use it in GitHub Desktop.
Save hellerve/dd77db4bccfed583f102 to your computer and use it in GitHub Desktop.
Obscure C++ syntax
#include <stdio.h>
int main() <%
int x <:3] = {1, 2, 3%>;
printf("%d, %d, %d\n", x[0:>, x<:1], x<:2:>);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment