It means "create an object of type string, which is part of the std namespace, and call this new object buffer".
If creating an object is something you are not familiar with, you are not ready to start using input text files. You should start with something like int x; and see how you go with that.