re: A Weird Way to Substring in C++ VIEW POST

TOP OF THREAD FULL DISCUSSION
re: A "fun" side effect of the fact that the C++ (and C) subscript operator is just pointer arithmetic means that const char* array[] = { "Well", "Th...
 

Sometimes I worry about C++ - it doesn't exactly help itself at times... 😄

Yes, but at least we get to play with esoteric hackery without needing a different language.

...and sometimes, ever so rarely, if the stars are aligned, that hackery comes in handy.

code of conduct - report abuse