The IOstream library also defines its own types (fstream, sstream, ostream, istream) and the string library also defines it's own functions (getline()), and then some, but that's just FYI.
I'm not the strongest regarding terminology, however I have been programming in C++ for a few years and maybe this can help you:
● An object can be an instance of a class.
● A class is a type of type, if you will. An std::string is a class. If you have something in C++ that can do something along the lines of
something.something_else...
, it's safe to assume the left-hand side is a class (or a struct, but in C++ the two are pretty much the same).
● The term variable is usually reserved for instances of simpler types than classes (int, char, float).
● Well... okay. Technically std::string is a typedef of a class template using a char, but you won't worry about that later. ;)
Do these help you understand a bit? You might want to check the tutorial on this site to help you out (
http://cplusplus.com/doc/tutorial/).
-Albatross