编程序时出现fatal error C1004: unexpected end of file found 能指点一下吗
编程序时出现fatal error C1004: unexpected end of file found执行 cl.exe 时出错.
但不知道错在哪 求各位高手指点下
程序为 #include<iostream.h>
class Point
{private:
int x,y;
public:
Point(int a,int b)
{x=a;y=b;}
void setpoint(int a,int b)
{x=a;y=b;}
double getpoint()const
{return x;y;}
};
class Ccircle:public Point
{
private:
double radiu;
public:
Ccircle(double radiusval)
{radius=radiusval;}
void setradius(double radiusval)
{radius=radiusval;}
double getradius()const
{return radius;}
double area()const
{return 3.14*radius*radius;}
Ccircle(int a,int b):point(a,b)
}
void Ccircle::printout()
void main()
{
Point point(3,4);
Ccircle ccircle(10);
cout<<"圆心座标:"<<"("<<x<<","<<y<<")"<<endl;
cout<<"圆半径:"<<radius<<endl;
cout<<"圆面积"<<area<<endl;
}