错误1错误C2628:'问题'其次是' int'是非法的(你忘记了&#39 ;;'?)
错误2错误C2447:' {' :缺少函数头(旧式正式列表?)
/*
The Great Quiz Show Game
by
Seth Alpha
*/
#include <iostream>
#include <string>
using namespace std;
class question
int main();
{
cout << "***********************" << endl;
cout << "* *" << endl;
cout << "* The Great Quiz Show *" << endl;
cout << "* *" << endl;
cout << "* by *" << endl;
cout << "* *" << endl;
cout << "* Seth A---- *" << endl;
cout << "* *" << endl;
cout << "***********************" << endl;
cout << endl;
}
提前感谢您提供任何帮助! :)
答案 0 :(得分:1)
int main(); should be int main() {
P.S。除非您要声明字符串变量,否则不需要包含字符串库