我找不到这部法典中的错误,任何人都可以让我了解情况? 我 ran倒,但错误是无法理解的。
#include "stdafx.h"
#include <iostream>
using namespace std;
int main()
{
string name;
cout << "Input your name please?" << endl;
cin >> name;
if
{
(name == "Bart Simpson")
cout << "You have been very naughty" << endl;
}
return 0;
}