Click here to Skip to main content
15,937,779 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Good Morning to everyone. I have a serious problem in my coding. There is a error "linker 2001: unresolved external symbol". This error comes on the reference for the structure. But i have declared it in the header file. How to correct it?

1 solution

Declaring the structure is NOT enough. You must define a variable whose type is your struct.
Please modify your post including the relevant code for better help.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900