If you look at large open source projects in C or C ++, you will find many ways to organize the source. However, a few common scenarios are to use the directory structure module(or component) with srcand includein each module. Alternatively, you can use it the other way around and use src\moduleand include\module.
If you have test code that often goes into module\testor test\module.
++ " , ". include\public ( public\include), .
, " , ", , , - - , -, "" , - , DLL, DLL, , [ (, , ), , .
namespaces .