Hi. I made some headers I want to include in every project from the include directories. So I'll be able to do #include <hello.h> instead of "hello.h", and I won't need to place them in the same directory every time.
So I did this:
[IMG]http://i38.tinypic.com/2n1bdj8.jpg[/IMG]
[IMG]http://i34.tinypic.com/33a4d1g.jpg[/IMG]
but it doesn't work. I don't a get any compile errors; I get link error:
#include <iostream>
#include <palindrome.h>
using namespace std;
int main()
{
int j = palindrome(53);
return 0;
}
1>main.obj : error LNK2019: unresolved external symbol "int __cdecl palindrome(int)" (?palindrome@@YAHH@Z) referenced in function _main
1>C:\Users\User\Documents\Visual Studio 2008\Projects\Palindrome\Debug\Palindrome.exe : fatal error LNK1120: 1 unresolved externals