那里错
#include<iostream>
using namespace std;
class Student{
private:
int x;
public:
void print();
}
void Student::print()
{
cout<<"mazhiwei"<<endl;
}
int main(int argc, char* argv[])
{
Student student;
student.print();
int x;
x=2;
} 1 楼 meviso 2012-01-10 妈的,class 后面要加;