a common cathode seven segment display library

Oh I get it! The digits beginning with 0b--each digit represents segments g to a! 0 is of, 1 is on. Am I right?
Also, some of the language looks like C or visual basic. How come it compiles with Arduino?
Thank you for being so helpful.
Habib