新微赢技术网
标题:
Declaration terminated incorrectly这个错误代码是什么意思呀.
[打印本页]
作者:
熾天使rose
时间:
2009-11-3 03:34
标题:
Declaration terminated incorrectly这个错误代码是什么意思呀.
//test 16_5.cpp
//这是一个虚函数示例,我原封不动的写入.结果就是编译不了.系统提示错误在第76行.求各位大侠帮忙!#include <iostream.h>
class caribbean
{
public:
virtual void other_attractions(void)
{
cout<<" .........";
}
};
class bahamas:public caribbean
{
public:
void other_attractions(void)
{
cout........";
}
};
class grand_cayman:public caribbean
{
public:
void other_attractions(void)
{
cout,,,,,, };
class st_thomas:public caribbean
{
public:
void other_attractions(void)
{
cout<<" ..........
};
main(void)
{
caribbean islands,*ptr;
bahamas package_1;
欢迎光临 新微赢技术网 (http://bbs.weiying.cn/)
Powered by Discuz! X3.2