-1
こんにちは私は大学の宿題をしようとしていますが、予想通りに;
というエラーが出ていますが、すでにその行に;
があります。私のエラーがCINの答え期待a;私はすでに持っている。
#include <iostream>
#include <string>
using namespace std;
int main()
{
string name;
cout << "Welcome to the Prison of Elders, Guardian, what is your name ?.";
cin >> name;
cout << "are you ready to face a challenge" << name << "!" << endl;
cin answer;
while (1);
return 0;
s/'cin answer; '/' cin >> answer; ' – user0042
あなたは間違いがあります。 ' – scrappedcola
おかげで、私はこれを混乱させてしまったのですが>> –