Created
November 13, 2015 16:19
-
-
Save goyusia/000ad3a34cb25c3386dd to your computer and use it in GitHub Desktop.
Alternative operator representations (C version)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Reference | |
| * http://en.cppreference.com/w/cpp/language/operator_alternative | |
| $ clang trigraphs.c | |
| */ | |
| %:include <stdio.h> | |
| %:include <stdbool.h> | |
| %:include <iso646.h> | |
| int main(int argc, char *argv<::>) | |
| <% | |
| bool val_a = true; | |
| bool val_b = false; | |
| bool tmp_val = val_a and val_b; | |
| printf("%d\n", tmp_val); | |
| %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment