The program uses the input operator to display the prompt for the user's name.
The code:
#include iostream
int main(void)
{
char first_name[64];
std::cout << "Type your first name: ";
std::cin >> first_name;
std::cout << "Hello, " << first_name << "!\n";
}