13

Me and my buddy, Jim, were playing a guess-the-song challenge. Of course, I was winning. (Don't tell him I said that!)
After he left, I looked at my computer, and saw this written in gedit:

#include <cstdlib>
#include <unistd.h>
#include <string>
class Cup {
    public:
        int fillLevel; // 0: empty, 1: half, 2: full
        std::string contents;
};
int main() {
    exit(0);
    usleep(60000000);
    Cup mine();
    mine.fillLevel = 2;
    mine.contents = "liqour";
    return 0;
}

I think this was one final challenge from Jim, as retaliation.
So, can you help me figure out what song this is?

InitializeSahib
  • 1,040
  • 5
  • 18

1 Answers1

11

The song lyrics craftily hidden in this code are

"Stop. Wait a minute. Fill my cup put some liquor in it."

The code works perfectly and is a reference to the song

"Uptown Funk" by Mark Ronson.

CodeNewbie
  • 11,753
  • 2
  • 45
  • 87
Marcus Helmer
  • 126
  • 1
  • 4