我似乎无法弄清楚为什么它一直说预期的`;' 仅在第 28 行的“keep_window_open”之前请帮忙
#include<cmath>
#include<vector>
#include<algorithm>
#include<iostream>
#include<string>
using namespace std;
inline void keep_window_open(){char ch;cin>>ch;}
int main()
{
cout<<"Please enter your first name(followed by 'enter'):\n";
string first_name;
cin>>first_name;
cout<<"hello,"<<first_name<<"!\n";
keep_window_open();
return 0;
cout<<"please enter last name:\n";
string Last_name;
cin>> Last_name;
cout<<"hello,"<<first_name<<Last_name<<"!\n"
// this is the only keep_window_open() function that gives me the problem
keep_window_open();
return 0;
}