各位大侠帮我找找错
#include "stdafx.h"#include "iostream.h"
class student{
private:
char name;
int age;
public:
char sex;
void shouw()
{cout<<"print student' name.age.sex"<<name<<age<<sex<<endl;}};
student::shouw(){
name='w';
age=20;
sex='m';}
class correspond :public student{
private:
char major;
public:
void show()
{cout<<'print major'<<major<<endl;}};
corrspond::show(){
major='C';}
int main(int argc, char* argv[])
{
student m1();
m1.shouw();
corrspond n1();
n1.show();
return 0;
};