奇怪的链接问题

时间:2011-08-02 10:22:51

标签: c++ linker

我遇到了非常奇怪的链接问题。我的程序结构是:

"Node.h"
"use_node.h"
//and in this file I am using fnc defined as inline OUTSIDE of Node's class definition but in same file as Node.

我收到了一个错误:

fatal error LNK1120: 1 unresolved externals

我甚至为这个fnc创建了单独的文件.h,并且在“use_node.h”中为它包含了它,但它仍然无济于事。究竟是什么我做错了?

我正在使用VS 2010 Ultimate sp1

0 个答案:

没有答案