…class Hello { … void Hello::hello(); … }; …提示(g++):Hello.h:17: error: extra qualification "Hello::" on member "hello"这通常是拷贝代码引起的,应改为:
…class Hello { … void hello(); … }; …Referencehttp://hi.baidu.com/zjugator/blog/item/77bb6cec02bee22163d09f7d.html-柳 大·Poechant:Blog.CSDN.net/Poechant