当前位置:天才代写 > tutorial > C语言/C++ 教程 > C++编程中错误及告诫信息(2) extra qualification

C++编程中错误及告诫信息(2) extra qualification

2017-11-03 08:00 星期五 所属: C语言/C++ 教程 浏览:502

Explanation

实例:

…    
class Hello {   
    …   
    void Hello::hello();   
    …   
};   
…

提示(g++):

Hello.h:17: error: extra qualification ‘Hello::’ on member ‘hello’

这凡是是拷贝代码引起的,应改为:

…    
class Hello {   
    …   
    void hello();   
    …   
};   
…

Reference

http://hi.baidu.com/zjugator/blog/item/77bb6cec02bee22163d09f7d.html

柳 大·Poechant:Blog.CSDN.net/Poechant

 

    关键字:

天才代写-代写联系方式