-
-
Save nabijaczleweli/9eaaf28e3c4d4a328293 to your computer and use it in GitHub Desktop.
This file contains 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
#define 📶 ::iterator | |
#define 📷 std::vector | |
#define 💵 std::string | |
#include <vector> | |
#include <iostream> | |
int main() { | |
📷<💵> blęrb; | |
blęrb.push_back("ąś"); | |
for(📷<💵>📶 itęr = blęrb.begin(); itęr != blęrb.end(); ++itęr) | |
std::cout << *itęr << '\n'; | |
} |
This file contains 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
p:\Rust>g++ -std=c++14 a.cpp | |
a.cpp:1:9: error: macro names must be identifiers | |
#define ƒôÂ ::iterator | |
^ | |
a.cpp:2:9: error: macro names must be identifiers | |
#define ƒôÀ std::vector | |
^ | |
a.cpp:3:9: error: macro names must be identifiers | |
#define ƒÆÁ std::string | |
^ | |
a.cpp:9:2: error: stray '\360' in program | |
ƒôÀ<ƒÆÁ> bl─Örb; | |
^ | |
a.cpp:9:2: error: stray '\237' in program | |
a.cpp:9:2: error: stray '\223' in program | |
a.cpp:9:2: error: stray '\267' in program | |
a.cpp:9:2: error: stray '\360' in program | |
a.cpp:9:2: error: stray '\237' in program | |
a.cpp:9:2: error: stray '\222' in program | |
a.cpp:9:2: error: stray '\265' in program | |
a.cpp:9:2: error: stray '\304' in program | |
a.cpp:9:2: error: stray '\231' in program | |
a.cpp:10:2: error: stray '\304' in program | |
bl─Örb.push_back("─à┼ø"); | |
^ | |
a.cpp:10:2: error: stray '\231' in program | |
a.cpp:11:2: error: stray '\360' in program | |
for(ƒôÀ<ƒÆÁ>ƒô it─Ör = bl─Örb.begin(); it─Ör != bl─Örb.end(); ++it─Ör) | |
^ | |
a.cpp:11:2: error: stray '\237' in program | |
a.cpp:11:2: error: stray '\223' in program | |
a.cpp:11:2: error: stray '\267' in program | |
a.cpp:11:2: error: stray '\360' in program | |
a.cpp:11:2: error: stray '\237' in program | |
a.cpp:11:2: error: stray '\222' in program | |
a.cpp:11:2: error: stray '\265' in program | |
a.cpp:11:2: error: stray '\360' in program | |
a.cpp:11:2: error: stray '\237' in program | |
a.cpp:11:2: error: stray '\223' in program | |
a.cpp:11:2: error: stray '\266' in program | |
a.cpp:11:2: error: stray '\304' in program | |
a.cpp:11:2: error: stray '\231' in program | |
a.cpp:11:2: error: stray '\304' in program | |
a.cpp:11:2: error: stray '\231' in program | |
a.cpp:11:2: error: stray '\304' in program | |
a.cpp:11:2: error: stray '\231' in program | |
a.cpp:11:2: error: stray '\304' in program | |
a.cpp:11:2: error: stray '\231' in program | |
a.cpp:11:2: error: stray '\304' in program | |
a.cpp:11:2: error: stray '\231' in program | |
a.cpp:12:3: error: stray '\304' in program | |
std::cout << *it─Ör << '\n'; | |
^ | |
a.cpp:12:3: error: stray '\231' in program | |
a.cpp: In function 'int main()': | |
a.cpp:9:6: error: expected primary-expression before '<' token | |
ƒôÀ<ƒÆÁ> bl─Örb; | |
^ | |
a.cpp:9:11: error: expected primary-expression before '>' token | |
ƒôÀ<ƒÆÁ> bl─Örb; | |
^ | |
a.cpp:9:13: error: 'bl' was not declared in this scope | |
ƒôÀ<ƒÆÁ> bl─Örb; | |
^ | |
a.cpp:10:6: error: expected ';' before 'rb' | |
bl─Örb.push_back("─à┼ø"); | |
^ | |
a.cpp:11:10: error: expected primary-expression before '<' token | |
for(ƒôÀ<ƒÆÁ>ƒô it─Ör = bl─Örb.begin(); it─Ör != bl─Örb.end(); ++it─Ör) | |
^ | |
a.cpp:11:15: error: expected primary-expression before '>' token | |
for(ƒôÀ<ƒÆÁ>ƒô it─Ör = bl─Örb.begin(); it─Ör != bl─Örb.end(); ++it─Ör) | |
^ | |
a.cpp:11:21: error: 'it' was not declared in this scope | |
for(ƒôÀ<ƒÆÁ>ƒô it─Ör = bl─Örb.begin(); it─Ör != bl─Örb.end(); ++it─Ör) | |
^ | |
a.cpp:11:49: error: expected ';' before 'r' | |
for(ƒôÀ<ƒÆÁ>ƒô it─Ör = bl─Örb.begin(); it─Ör != bl─Örb.end(); ++it─Ör) | |
^ | |
a.cpp:11:49: error: 'r' was not declared in this scope | |
a.cpp:11:58: error: expected ')' before 'rb' | |
for(ƒôÀ<ƒÆÁ>ƒô it─Ör = bl─Örb.begin(); it─Ör != bl─Örb.end(); ++it─Ör) | |
^ | |
a.cpp:11:58: error: 'rb' was not declared in this scope | |
a.cpp:11:70: error: 'it' was not declared in this scope | |
for(ƒôÀ<ƒÆÁ>ƒô it─Ör = bl─Örb.begin(); it─Ör != bl─Örb.end(); ++it─Ör) | |
^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment