Original Post
I’m trying to make a static linked library containing a lot of different classes. And only one class should be visible and usable to the end user. So here is my question: Is there any way to have a project split up in many .h files and .cpp [one for each class/group of classes] and only have one of the .h files needed to be included when the .lib file is to be used?
I have about 5 .h files, all containing different classes or sets of classes for different tasks. And then one main class that is derived form all off these classes. Now I don’t want to pack all of these in one .h file [that would be huge and hard to read]. I only want my main class .h file and the .lib-file. I’m working with VC++ 6.0 and I have tried using both "empty documents", and the pre-compiled header solution but cant get this to work... Any ideas?