I'm learning C++ from Programming : Principles And Practice By Bjarne Stroustrup. They have given a sample program:
// read and write a first name
#include "std_lib_facilities.h"
int main()
{
cout << "Please enter your first name (followed by 'enter'):\n";
string first_name; // first_name is a variable of type string
cin >> first_name; // read characters into first_name
cout << "Hello, " << first_name << "!\n";
}
When I type the same code in visual studio, it gives error for the header file "std_lib_facilities.h". I'm confused with this header file.
Is it still used? What else can I use instead of this header?