What’s the best naming prefix for a global variable?
//
I saw this joke on the wall in my CS lab and, being fairly inexperienced in C++, didn't get it.
Could someone explain it to me?
What’s the best naming prefix for a global variable?
//
I saw this joke on the wall in my CS lab and, being fairly inexperienced in C++, didn't get it.
Could someone explain it to me?
//
means that the rest of the line is a comment. Global variables are generally seen as poor design, so the joke is that the best thing to do with global variables is to get rid of them.