| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 19888 人关注过本帖
标题:编程序时出现fatal error C1004: unexpected end of file found 能指点一下 ...
取消只看楼主 加入收藏
wolf123
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2007-4-21
收藏
 问题点数:0 回复次数:1 
编程序时出现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;
}
搜索更多相关主题的帖子: found error unexpected fatal end 
2007-04-21 11:43
wolf123
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2007-4-21
收藏
得分:0 
貌似还是不行啊?具体是哪要加?
2007-04-21 15:26
快速回复:编程序时出现fatal error C1004: unexpected end of file found 能指 ...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.010987 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved