so this is a serious post (not like my http://www.cplusplus.com/forum/lounge/107706/ post). i was wondering why they used some of the names they did for c++ or oop in general.
virtual, class, curses (which i know is a header but still), explicit, friend, and stuff like that. btw im not arguing the usefullness of these features, but just wondering why they are called what they are
* class - another name for type (classes in OOP are user-defined types): a class of items,
* curses - a library for managing terminals. I suspect it's named that because terminals have cursors and are annoying to manage. Cursor + annoying ("Curses!") => curses.
* explicit - should be pretty obvious. Explicit is the opposite of implicit, so what is implicitly implicit can be explicitly made explicit.
* friend - classes can have parents (base classes), children (derived classes) and, I guess, siblings (classes with the same parents) and spouses (classes who act as base classes for the same derived class(es)), so why not friends? Someone ("they") wanted a way to allow selective outside access to private members so that we could have class members that were hidden from the general public but
* virtual - pure virtual functions are functions that aren't defined (for the base class), i.e. aren't real. Another word for "not real" is virtual. For non-pure-virtual functions though, it doesn't really make sense.