I have a little problem with VC++ IDE.
After cpmplete writting my class, I found that even VC++ know my class from header file which I add in the project but it can't find the implementation of my class.
I try to make it know by set project environment and compile my class to .lib file, then I add that lib to my project.
But the linker does't seem to know where is definition of my class. I also set the linker to know my lib by add it in the part of input library.
When I try to compile my client code which use my class it can compile completely but the linker warn me that it can't link my object code together.
Actually, I can eliminate this problem by add everything in one file, then compile it but I don't like this solution it also destroy concept "encapsulation" of OOP.
Who know how to use our own class with VC++?