VC++ and lnk2001
I have been trying to improve my programming skills by trying to right some simple windows apps. But I keep getting a LNK2001 error when I try to build. I get not warnings or errors. By the way this code that I am trying is from the Windows Gaming Secrets Book.
I can''t make an exe for anything when it comes to windows apps. All of my includes, headers, and all other stuff is correct and up to date. Can someonme please help.
hiryu3@hotmail.com
It would help if you told us Exactly what error you get, word for word what the compiler tells you.
But Ill try to help anyway, that error is pretty common. Usually a problem with locating functions.
You may have a declaration of a function:
int funcname();
and the compiler is expecting to find the definition somewhere but cant:
you should have a
int funcname()
{
return 1;
}
but you might have mis typed and put
int funtname()
{
return 1;
}
but with this error theres all sorts of similar errors that cause it.
umm I hope I helped a little.
One person said that the games industry is "a transfer of funds from the rich to the lucky"
But Ill try to help anyway, that error is pretty common. Usually a problem with locating functions.
You may have a declaration of a function:
int funcname();
and the compiler is expecting to find the definition somewhere but cant:
you should have a
int funcname()
{
return 1;
}
but you might have mis typed and put
int funtname()
{
return 1;
}
but with this error theres all sorts of similar errors that cause it.
umm I hope I helped a little.
One person said that the games industry is "a transfer of funds from the rich to the lucky"
Just because the church was wrong doesn't mean Galileo wasn't a heretic.It just means he was a heretic who was right.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement