请教关于不同文件间调用函数的问题?
请教个问题我在1.h中定义extern void my_test_fuc();
1.cpp文件中定义如下:
void my_test_fuc()
{
int my_times=45;
fl_alert("No occurrences of \'%d\' found!", my_times);
}
在我引用的文件中也加了1.h文件
但是它还是报错误:fatal error LNK1120: 1 个无法解析的外部命令
这是什么原因啊
2009-12-27 19:57

2009-12-27 21:05
2009-12-28 22:12
2009-12-30 17:14