You are not logged in.
Pages: 1
digraphs are funny - they're C/C++ aliases for some symbols...
I have no clue what the point was, but they're great to obscure code:
int main(int argc, char *argv<::>)
<%
return printf(" I am %s",argv<:0]);
%>
they also include words for boolean operators (and, or, not, xor_eq)...
has anyone seriously used these ever?
Offline
Seems like another example of C++ bloat. I guess you could use them if your keyboard lacks the required characters. Where did you find this?
I have nothing to say, and I am saying it.
Offline
Always knew about it - it's not C++, it's C as well (as far as ANSI is concerned), so no, it has nothing to do with this fabled "bloat"
The reason it came up was I was looking at one of those "spot the syntax error" things and it had something like:
if (argc > 4 and argv[3][0 :>> 4) {...}
which is proper syntax... but it looks like a rshift
Offline
Pages: 1