为什么我在Dev-c++中输入代码
#include <bits/stdc++.h> using namespace std; string n; int main() { cin >> n; if (isalpha(string n) == 1) { cout << 'a'; } else { cout << 'b'; } return 0; }
会报错?(报错显示:期待基本表达示在此之前)