請複製以下的程式碼,並在「編輯器」視圖中將它貼到 main.cpp 檔中:
#include <iostream>
#include <string>
  using namespace std;
int main()
{
	string yourName;

	cout << "Enter your name: ";
	cin  >> yourName;
	cout << "Hello " + yourName << endl;

	return 0;
}