it says the error is on the underlined piece of code
#include <iostream>
#include <string>
using namespace std;
int main(){
char question[] = "enter a password you want to encypt" << endl;
char password[60];
cout << question;
cin >> password;
system("pause");
return 0;
}
"enter a password you want to encypt" << endl;
See that << endl
on the end? It has no business being there.