views:

33

answers:

1

I've noticed that some sources have common and/or include as sub-folders. I am talking about C/C++ sources in particular. What are they supposed to contain?

+1  A: 

As long as the folder structure is consistent, either way is fine. If the owner(s) of the source have both common and include folders, there should be an obvious distinction. Hopefully these folders do not include other artifacts that should be somewhere else.

Are you having a particular problem? or looking for a 'best practice'? I usually think of an include folder to have .h/.hpp files whereas an common folder could contain images and other non .h/.hpp shared files.

Edward Leno
This was a little helpful, thanks. Will wait for a more detailed explanation.
someguy